Re: question about BER
what do you mean by "combine them together"
which matlab version do you have?
see this program for matlab 2008:
clc;
clear all;
disp('M-Array PSK Modulation')
%create a random digital message
M=input ('M= '); %alphabet size
x=randint(input('Number of binary bit stream = '),1,M);
nsample=40; %oversampling rate.
%use M-PSK modulation to produce y
y=modulate(modem.pskmod(M),x);
%follow with rectangular pulse shaping.
ypulse=rectpulse(y,nsample);
stem(y(1:10),'filled'),grid;
ynoisy=awgn(ypulse,input('SNR in dB = '),'measured');
%Create scattet plot from noisy data
scatterplot(ynoisy),grid;
%%
%Downsample at the reciever.
ydownsample=intdump(ynoisy,nsample);
%%
%Demodulate ynoisy to recover the message.
z=demodulate(modem.pskdemod(M),ydownsample);
figure;
subplot(2,1,1);
stem(x(1:10),'filled'),grid;
subplot(2,1,2);
stem(z(1:10),'filled'),grid;
%%
%Check symbole erroe rate.
[num ty]=symerr(x,z)
let me know your results and your comments
---------------------------------------------------------------------------------------
OFDM and Matlab: **broken link removed**
---------------------------------------------------------------------------------------