Hello,
I used the File Sink block to save some data.
they are
“Byte”, pink color
and
“complex”, light blue color.
How can I get something, like *.m script, to open those types of files
on
Matlab?
Thanks a lot.
Hello,
I used the File Sink block to save some data.
they are
“Byte”, pink color
and
“complex”, light blue color.
How can I get something, like *.m script, to open those types of files
on
Matlab?
Thanks a lot.
very simple. this is part of my code for reading complex signal, but
mind
that i have separated real and imaginary values, there is a way to read
in
an array of complex i suppose.
file = fopen(read_path, ‘r’);
% fseek(file, 19400008, ‘bof’);
data = fread(file, ‘single’, ‘l’);
fclose(file);
i_data = data(1:2:length(data));
q_data = -1data(2:2:length(data));
Thanks Nemanja.
Have you ever try reading Byte data in Matlab?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs