How to read I/Q data in matlab

5 次查看(过去 30 天)
Ahmed Siddig
Ahmed Siddig 2018-7-6
Hello, am wondering how can i read the I/Q data file inside matlab and from it to display the amplitude and phase i have tried this code:
fid = fopen(filename,'rb'); y = fread(fid,'uint8=>double'); y = y(1:2:end) + i*y(2:2:end); it read the file as binary but i couldn't figure out the rest. so is there any other way i can use or the one am using is correct? thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by