Assuming you have your file sink configured to complex, the data (which you 
shouldn't just save as .dat - consider .fc32 or sigmf) should simply be 
interleaved float32. So it looks like

[(float32 real), (float32 imag), (float32 real), (float32 imag), ... ]

in python you can read that w/`np.fromfile(xyz, dtype=np.complex64)`. There 
must be an equivalent in octave.

Kyle Logue
Engineering Manager ⚝ Comm Software Implementation Dept
The Aerospace Corporation
________________________________
From: USRP-users <[email protected]> on behalf of AKINYELE 
ITAMAKINDE via USRP-users <[email protected]>
Sent: Wednesday, April 15, 2020 07:30
To: [email protected] <[email protected]>
Subject: [USRP-users] Conversion of .dat file to a readable data using GNU 
octave

I am working on channel sounding using USRP and GNU radio platforms. I am 
experiencing difficulty in converting the .dat file of sink file at receiver of 
flow graph into readable data using GNU octave. Can somebody help me to achieve 
this? Thanks
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to