kuku
Newbie level 3

Hi all
I am dealing with the rayleigh fading channel. As you know, the receive signal at the receiver is model as y(t)=sqrt(Pt)*h*s(t)+noise, where Pt is the tranmission power, h is the rayleight fadding coefficient.
And to get the SNR, you need to get the power by squaring the term, so it becomes h^2.
I am wondering how should I use matlab to simulate the h^2 term?
I am dealing with the rayleigh fading channel. As you know, the receive signal at the receiver is model as y(t)=sqrt(Pt)*h*s(t)+noise, where Pt is the tranmission power, h is the rayleight fadding coefficient.
And to get the SNR, you need to get the power by squaring the term, so it becomes h^2.
I am wondering how should I use matlab to simulate the h^2 term?