Re: [Discuss-gnuradio] Import GNURadio data to matlab

2018-06-28 Thread Markus Wirsing
There exists a small utility function for this purpose in the gnuradio sources. It can be found here: https://github.com/gnuradio/gnuradio/blob/master/gr-utils/octave/read_float_binary.m Either use it directly, or as an example how to do it. Markus Am 23.06.2018 um 16:40 schrieb PRIYANKA PRIYADA

Re: [Discuss-gnuradio] Import GNURadio data to matlab

2018-06-23 Thread CEL
Dear Priyanka, um, the whole point of that article is that you need to give the third parameter, the kind of date (Matlab docs erroneously call this precision, it's really the data type): fopen(your_filename_here, 'rb', 'float') The fact that you're even asking about quotes around the file name

Re: [Discuss-gnuradio] Import GNURadio data to matlab

2018-06-23 Thread Marcus D. Leech
On 06/23/2018 11:42 AM, PRIYANKA PRIYADARSHINI wrote: Thanks Mr. Leech, I have already seen this but when I use f = fopen(filename, 'rb'); It gives me an error saying “undefined variable or class”. When I write the filename as ‘filename’ which is under single quotes then it works but it take

Re: [Discuss-gnuradio] Import GNURadio data to matlab

2018-06-23 Thread PRIYANKA PRIYADARSHINI
Thanks Mr. Leech, I have already seen this but when I use f = fopen(filename, 'rb'); It gives me an error saying “undefined variable or class”. When I write the filename as ‘filename’ which is under single quotes then it works but it takes some very weird data. It doesn’t load the same data

Re: [Discuss-gnuradio] Import GNURadio data to matlab

2018-06-23 Thread Marcus D. Leech
On 06/23/2018 10:40 AM, PRIYANKA PRIYADARSHINI wrote: Hello Everyone, How can we import the data stored in a file by GNURadio to MATLAB using fread and fseek function?? Thanks, Priyanka ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https

[Discuss-gnuradio] Import GNURadio data to matlab

2018-06-23 Thread PRIYANKA PRIYADARSHINI
Hello Everyone, How can we import the data stored in a file by GNURadio to MATLAB using fread and fseek function?? Thanks, Priyanka ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio