Changeset 9703
- Timestamp:
- 11/05/09 21:27:43 (4 years ago)
- Location:
- ossiedev/branches/hvolos/components/ChannelMIMO
- Files:
-
- 2 modified
-
ChannelMIMO.cpp (modified) (2 diffs)
-
ChannelMIMO.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/branches/hvolos/components/ChannelMIMO/ChannelMIMO.cpp
r9701 r9703 129 129 props[i].value >>= simple_temp; 130 130 noise_sigma = sqrt(simple_temp/2.0); 131 noise_power=simple_temp; 131 132 } else if (strcmp(props[i].id, "DCE:9192e75a-3dd1-11de-b7e0-00226b9f0fde") == 0) { 132 133 // min antenna separation distance … … 163 164 164 165 //std::cout<<Nin<<","<<Nout<<","<<Nt<<","<<Mr<<"noise_sigma"<<noise_sigma<<std::endl; 165 std::cout<<"ChannelMIMO:"<<Mr<<"x"<<Nt<<" (Mr x Nt), noise_ sigma:"<<noise_sigma<<std::endl;166 std::cout<<"ChannelMIMO:"<<Mr<<"x"<<Nt<<" (Mr x Nt), noise_power:"<<noise_power<<std::endl; 166 167 167 168 I_out.length(Nout+NH); //must define length of output -
ossiedev/branches/hvolos/components/ChannelMIMO/ChannelMIMO.h
r9682 r9703 89 89 double ant_sep; 90 90 short int Mr,Nt; 91 long int noise_sigma ;91 long int noise_sigma,noise_power; 92 92 cx_mat randn_mat(int rows, int cols); 93 93 cx_mat sqrtm(cx_mat Y);