On Mon, Dec 10, 2012 at 4:03 AM, Ashish Raste <address@hidden>
For calculating the amplitude (assume RMS amplitude) of a signal source, I first tried to record the received samples (I'm using a vector signal generator) in a file_sink and then thought to use it for my calculation. The frequency of the signal from the signal generator was set to 400M and the sampling rate of the USRP source block (in GRC) was set to 2M. Have attached the block diagram below:
I am able to extract the float (the data type I used) values from the file but they are too small to be considered as amplitudes at different points in time i.e the maximum value was 1.03e-09 and minimum was -8.4e-13.
Can anyone please tell me how I can calculate the amplitude of any such signal in real-time? Is this approach of calculating amplitude the right one OR is there any other smarter way to do it?
Thanks and Regards,
Discuss-gnuradio mailing list