Changeset 9703

Show
Ignore:
Timestamp:
11/05/09 21:27:43 (4 years ago)
Author:
hvolos
Message:

noise power is displayed

Location:
ossiedev/branches/hvolos/components/ChannelMIMO
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/branches/hvolos/components/ChannelMIMO/ChannelMIMO.cpp

    r9701 r9703  
    129129            props[i].value >>= simple_temp; 
    130130            noise_sigma = sqrt(simple_temp/2.0); 
     131            noise_power=simple_temp; 
    131132        } else if (strcmp(props[i].id, "DCE:9192e75a-3dd1-11de-b7e0-00226b9f0fde") == 0) { 
    132133            // min antenna separation distance 
     
    163164 
    164165        //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; 
    166167 
    167168        I_out.length(Nout+NH); //must define length of output 
  • ossiedev/branches/hvolos/components/ChannelMIMO/ChannelMIMO.h

    r9682 r9703  
    8989        double ant_sep; 
    9090        short int Mr,Nt; 
    91         long int noise_sigma; 
     91        long int noise_sigma,noise_power; 
    9292        cx_mat randn_mat(int rows, int cols); 
    9393        cx_mat sqrtm(cx_mat Y);