Files
openairinterface5g/openair1/EMOS/LTE/POST_PROCESSING/channel.m
T
2013-06-25 09:05:02 +00:00

17 lines
226 B
Matlab

function [h1 h2] = channel(N0);
%z=sqrt(1/2).*(randn(2,1)+j*randn(2,1));
%z=N0.*z; %incorporating SNR in the noise
h1=sqrt(1/2).*(randn(2,1)+sqrt(-1)*randn(2,1));
h2=sqrt(1/2).*(randn(2,1)+sqrt(-1)*randn(2,1));