hi
Technical Report matlab codes for bpsk modulation and ber (bit error rate).
clear; clc; b = input('Enter the bit stream = '); n = length(b); t = 0:0.01:n; x = 1:1:(n+2)*100; for i = 1:n if (b(i) == 0) u(i) = -1; else u(i) = 1; end for j = i:0.1:i+1 bw(x(i*100:(i+1)*100)) = u(i); if (mod(i,2) == 0) bw_e(x(i*100:(i+1)*100)) = u(i); bw_e(x((i+1)*100:(i+2)*100)) = u(i); else bw_o(x(i*100:(i+1)*100)) = u(i); bw_o(x((i+1)*100:(i+2)*100)) = u(i); end if (mod(n,2)~= 0) bw_e(x(n*100:(n+1)*100)) = -1; bw_e(x((n+1)*100:(n+2)*100)) = -1; end end end bw = bw(100:end); bw_o = bw_o(100:(n+1)*100); bw_e = bw_e(200:(n+2)*100); cost = cos(2*pi*t); sint = sin(2*pi*t); x = bw_o.*cost; y = bw_e.*sint; z = x+y; subplot(3,2,1); plot(t,bw); xlabel('n ---->'); ylabel('Amplitude ---->'); title('Input Bit Stream'); grid on ; axis([0 n -2 +2]); subplot(3,2,5); plot(t,bw_o); xlabel('n ---->'); ylabel('Amplitude ---->'); title('Odd Sequence'); grid on ; axis([0 n -2 +2]); subplot(3,2,3); plot(t,bw_e); xlabel('n ---->'); ylabel('Amplitude ---->'); title('Even Sequence'); grid on ; axis([0 n -2 +2]); subplot(3,2,4); plot(t,x); xlabel('Time ---->'); ylabel('Amplitude ---->'); title('Odd Sequence BPSK Modulated Wave'); grid on ; axis([0 n -2 +2]); subplot(3,2,2); plot(t,y); xlabel('Time ---->'); ylabel('Amplitude ---->'); title('Even Sequence BPSK Modulated Wave'); grid on ; axis([0 n -2 +2]); subplot(3,2,6); plot(t,z); xlabel('Time ---->'); ylabel('Amplitude ---->'); title('QPSK Modulated Wave'); grid on ; axis([0 n -2 +2]);
I'm evaluating Appcelerator Titanium for a project. The one feature that I'm concerned is that my project will require me to crop images. Using complete image processing would be amazing, but...
04 May 2015 6,756 0 View
I am new to Android and before I have a knowledge of Image Processing. I used MATLAB for IP but when now I have switched to Android I came to know that Android doesn't support MATLAB Functions or...
04 May 2015 9,295 1 View
The throughput of a channel is a measure of amount of data actually moves through the channel. Why is it substantially less than the bandwidth of the channel?
04 May 2015 5,685 1 View
I want to know that what would be the fastest fiber optic network card for a pc ? and does those things offer the actual speed mentioned? any one who uses a fiber optic network card please help...
04 May 2015 670 1 View
I've read across several Image Processing books and websites, but I'm still not sure the true definition of the term "energy" in Image Processing. I've found several definition but sometimes they...
04 May 2015 9,087 1 View
Please help. Rather than a actual question, this is a questions asking for feedback, suggestion and recommendation on what is a webcam good enough for image processing. I need a reasonable low...
04 May 2015 3,650 1 View
am doing image processing in C that requires copying large chunks of data around memory - the source and destination never overlap.
04 May 2015 840 0 View
what to read or which language/library to use?
04 May 2015 6,733 1 View
I want to show that image X looks something and when i apply filtering it looks like some other thing is is possible with it?
04 May 2015 4,948 1 View
I aim to start opencv little by little but first I need to decide which API of OpenCV is more useful. I predict that Python implementation is shorter but running time will be more dense and slow...
04 May 2015 7,367 1 View
I would like to learn more about SPSS and Its application especially in regards to data analysis. Please suggest me how I can learn more about it. Thank you so much.
11 August 2024 9,101 4 View
I have reverse sequences (AB1 format), can I base on reverse DNA sequences to perform nucleotide alignment, convert nucleotides to amino acids and deposit the sequence in GenBank database?
11 August 2024 5,138 1 View
Hello, Why do i see this baseline drift when i compare my blank (black) to the sample (blue)? Any suggestions as to why this happened? Thank you!
11 August 2024 3,770 4 View
Willett, Shenoy et al. (2021) have developed a brain computer interface (BCI) that used neural signal collected from the hand area of the motor cortex (area M1) of a paralyzed patient. The...
10 August 2024 7,180 0 View
I'm currently exploring the application of Python in textile engineering, specifically in areas like data analysis, process automation, and the development of smart textiles. I'm interested in...
10 August 2024 7,429 2 View
How can I use the cif data obtained from rietveld refinement extracted via gsas2, for microstructural analysis using ETEX software?
09 August 2024 7,718 0 View
I need to model an anisotropic material in which the Poisson's ratio ν_12 ≠ ν_21 and so on. Therefore, the elastic compliance matrix wouldn't be a symmetric one. In ANSYS APDL, for TB,ANEL...
09 August 2024 5,048 2 View
Request Python code from this article : Gender equity of authorship in pulmonary medicine over the past decade. THANKS!
08 August 2024 6,242 2 View
One can try to generalize the Vandermonde determinant in the following direction: Let $A$ be any symmetric $n$-order square matrix. Consider its powers' diagonal elements $(A^k)_{ii}$ and...
08 August 2024 6,690 1 View
Let's say we have a standard, regular hexagonal honeycomb with a 3-arm primitive unit cell (something like the figure attached; the figure is only representative and not drawn to scale). The...
07 August 2024 1,937 1 View