help-octave
[Top][All Lists]
Advanced

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

problem to read complex binary file


From: alok ranjan
Subject: problem to read complex binary file
Date: Tue, 2 Dec 2014 18:27:43 +0530

Hello All,

I have a .dat (complex binary file) generated from GNU Radio.  I am trying to convert that file in .mat format so that i can use the same file either inn matlab or in octave to further plot the graph or some analysis of the contained information.

I am getting an error while i am trying to do the conversion.

Please check below my steps for detailed information:

addpath("/home/alok/gnuradio/gr-utils/");
data_oct = read_complex_binary("/usr/local/share/uhd/examples/usrp_samples.dat");

After the second line i am getting an error

'read_complex_binary' undefined near line 1 column 12

I am using the octave 3.8.1 version on Ubuntu.


please guide me how can i resolve this issue.

OR, there s any other method to open  the dat file and save that in octave or ascii format .


Any help is appreciated.

Regards!!

Alok

reply via email to

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