Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Rayleigh channel......

Status
Not open for further replies.

vkekk

Full Member level 3
Joined
Mar 30, 2007
Messages
159
Helped
5
Reputation
10
Reaction score
4
Trophy points
1,298
Activity points
2,211
Dear friends..

I need Rayleigh channel function program for WLAN high datarate application urgently... I simply generated random matrix with 0 mean and variance 1 i.e AWGN... But my supervisor want Rayleigh channel in MY MIMO system...

Can you pls help .......urgent
 

I would recommend mathwork.com for that enquiry.
They have many user contribuited examples for
simulation in Matlab of Rayleigh channels.
 

    vkekk

    Points: 2
    Helpful Answer Positive Rating
Anybody please add rayleigh channel to the below program … to make it work in rayleigh flat fading channel environment ----pls very urgent because I need to submit very soon …..
Note : application of the program is for WLAN ( 802.11) and make some assumption no problem for me…. I need this program with rayleigh one…

clear
S=10000; % length of data
N=6; % assume M tx and N rx antennas (N>M)
M=4;
bsic=[];bzf=[];bmm=[];
data=randint(S,1,4) ; %generates an M-by-N matrix of random integers %
smod=qammod(data,4) ; %outputs the complex envelope of the modulation of the
% message signal X using - 4QAM%
for snr=0:4:25
rec=[];rzf=[];rmm=[];
a=10^(-snr/10);
for i=1:M:S
s=smod(i:i+M-1);
h1=randn(N,M,1);%randn function generates arrays of random numbers
%whose elements are normally distributed with mean 0, variance =1%
h=h1;
ref=1:M;
x=h*s; %data without noise
x=awgn(x,snr,'measured');% received data with noise
zf=pinv(h)*x;%zf equalizer
mm=inv(a.*eye(M,M)+h'*h)*h'*x;%mmse equalizer

rzf=[rzf qamdemod(zf,4)'];
rmm=[rmm qamdemod(mm,4)'];
end
[b1,b2]=symerr(data',rzf);
bzf=[bzf b2];
[b1,b2]=symerr(data',rmm);
bmm=[bmm b2];
end
semilogy(0:4:25,bmm,'blue');
hold on
semilogy(0:4:25,bzf,'green');
grid on
legend('bmm','bzf');
ylabel('Symbol Error Rate');
xlabel('SNR in dB');
 

need EDA help urgently....
 

Hi,

User zero mean and unit variance for Rayleigh fading in your MATLAB program. To be specific where you are definifng h as:

h = randn (N,M,1);

use here

h = randn(0,1,?); I am not sure what is third parameter you r defining,

I hope this will work, if you need any more help plz let me know.

Cheers!!!!

MAK
 

Thanks mkhan

The above program is belong to AWGN channel..... I need ur help to add Rayleigh channel to the program.... I don't know what to do?... Can u help me?
 

Hi,

vkekk said:
Thanks mkhan

The above program is belong to AWGN channel..... I need ur help to add Rayleigh channel to the program.... I don't know what to do?... Can u help me?

Yes i may be able to help you. Plz tell me your exact problem. about Rayleigh channel I already told you the scenario.

MAK
 

Hi,
I think its good to use help in Matlab window, there is a command called CHAN = RAYLEIGHCHAN(TS, FD)and also you can add the paths number.
Or rewrite your program to me with opposit explenation in order to understand your syntaxes, and command to be able to insert the Rayleigh fading to your program
Good luck
sh,
 

Hi,
Replacing h1=randn(N,M,1) by h1=randn(N,M,1)+sqrt(-1) randn(N,M,1)
 

HI all,
I am a student in Electrical engineering and I need to simulate Rayleigh environment too, but before that, I have a question on the zero mean and unit variance::

zero mean and unit variance for Rayleigh fading in your MATLAB program.
MAK

Is the mean value of the gain in dB or just a ratio (multiplier) to the transmitted power?
and could anyone please give me a clue on normalization to 'unit variance'?

Thank you
 

Re: mimo with scheduling

hi . i would like to know if anyone can help me with creating a matlab code for mimo with adaptive scheduling algorithm to reduce interference between the streams ? plz do help .....
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top