akamouch
Newbie level 1

Hello Everyone ;
I'm trying to simulate a communication system using matlab
In my system the channel is assumed to be rayleigh block fading i.e the channel is static during the transmission of one block and vary from a block to another.
My code is as follows :
have two questions :
is my code correct ?
for the noise should I use randn(1,1) or randn(1,length(data) (as the channel is considered block fading)
thanks for your help
I'm trying to simulate a communication system using matlab
In my system the channel is assumed to be rayleigh block fading i.e the channel is static during the transmission of one block and vary from a block to another.
My code is as follows :
have two questions :
is my code correct ?
for the noise should I use randn(1,1) or randn(1,length(data) (as the channel is considered block fading)
thanks for your help