How to read I/Q data in matlab

조회 수: 12 (최근 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