How to read I/Q data in matlab

5 views (last 30 days)
Ahmed Siddig
Ahmed Siddig on 6 Jul 2018
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.

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!