help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: calculate SNR and watch a binary file


From: feldmaus
Subject: Re: calculate SNR and watch a binary file
Date: Sat, 28 Mar 2009 15:44:56 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Hi All,

I also stored another files with data captured from my signal generator.
But this time i increased the amplitude of my sinus signal periodically.
So i can easily verify that i stored data from my signal generator and
nothing else.

I executed the following octave commands:
c=read_complex_binary('usrp_output_64bit_complex_only_sin_signal.dat');
plot(real(c(1:600)))
<http://img17.imageshack.us/my.php?image=realfrom1to600samples.jpg>
plot(real(c(601:length(c)))
<http://img12.imageshack.us/my.php?image=realfrom601to2e06sample.jpg>
plot(imag(c(1:600)))
<http://img217.imageshack.us/my.php?image=imagfrom1to600samples.jpg>
plot(imag(c(601:length(c)))
<http://img21.imageshack.us/my.php?image=imagfrom601to2e06sample.jpg>

As you can see the amplitude will be increased over time.

However this doesn't looks like as in my FFT-Plot Software !
http://img135.imageshack.us/my.php?image=originalgraphicfromffts.jpg

Therfor i sink each wave is one sample and each sample has all the
information to build one displayed spectrum in my FFT-Plot ???

But how can i do this with octave ?
I doesn't understand FFT. But i think i need the FFT function to display
the data as shown in my FFT-Plot ???

Now i post the Real+Imag Values from (600:700):
   24 +  5i
    1 + 24i
  -23 + 10i
  -19 - 18i
    9 - 24i
   24 +  1i
    5 + 23i
  -21 + 13i
  -21 - 15i
    6 - 25i
   24 -  2i
    8 + 23i
  -19 + 16i
  -23 - 13i
    2 - 26i
   24 -  5i
   12 + 21i
  -16 + 19i
  -25 -  9i
    0 - 26i
   23 -  9i
   16 + 18i
  -13 + 21i
  -25 -  5i
   -4 - 25i
   22 - 13i
   18 + 15i
  -10 + 23i
  -26 -  2i
   -8 - 25i
   19 - 17i
   20 + 12i
   -6 + 24i
  -26 +  1i
  -12 - 23i
   17 - 18i
   22 +  9i
   -2 + 24i
  -25 +  5i
  -15 - 21i
   13 - 21i
   23 +  6i
    1 + 24i
  -24 +  8i
  -18 - 19i
   11 - 23i
   24 +  2i
    3 + 24i
  -23 + 12i
  -20 - 16i
    7 - 25i
   24 -  1i
    7 + 23i
  -20 + 15i
  -23 - 13i
    3 - 25i
   24 -  4i
   11 + 22i
  -18 + 18i
  -24 - 10i
    0 - 26i
   23 -  8i
   14 + 19i
  -14 + 20i
  -25 -  6i
   -3 - 26i
   22 - 11i
   17 + 17i
  -10 + 23i
  -26 -  2i
   -7 - 25i
   20 - 14i
   20 + 15i
   -7 + 23i
  -26 +  0i
  -10 - 24i
   18 - 18i
   21 + 11i
   -3 + 24i
  -25 +  3i
  -14 - 22i
   15 - 20i
   23 +  7i
    0 + 24i
  -24 +  8i
  -17 - 20i
   12 - 22i
   24 +  3i
    2 + 24i
  -23 + 12i
  -20 - 17i
    8 - 24i
   24 +  0i
    6 + 23i
  -21 + 14i
  -21 - 14i
    4 - 25i
   24 -  2i
   10 + 21i
  -18 + 17i
  -24 - 11i

Regards Markus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]