calculate SNR and watch a binary file
Markus Feldmann
feldmann_markus at gmx.de
Wed Mar 25 13:41:45 CDT 2009
Markus Feldmann schrieb:
> Hi All,
>
> i try to analyse an sin signal with an
> digital spectrum analyser.
> The Result looks like,
> http://img257.imageshack.us/img257/8017/nochstrender.jpg
>
> I can save the spectrum as a binary file.
> The file includes several 16 bit complex information.
>
> How to watch this with octave and calculate
> the SNR ?
>
> Regards Markus
Hi Francesco,
thakns for your Answer.
i wrote a small script:
filename = "spectrum.m";
fid = fopen (filename, "r");
[val, count] = fread (fid, 100, "uchar", "native")
fclose(fid);
But i want to watch the original komplex values instead of int values.
How to ?
As i know my Spectrum Analyser produces I/Q Signals, so there should be
2*16 bit values. Each 16 bit value is complex.
Regards Markus
More information about the Help-octave
mailing list