Pre-ci test passed git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4000 818b1a75-f10b-46b9-bf7c-635c3b92a50f
17 lines
226 B
Matlab
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));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|