How to convert waveform in the binary raw format ?

조회 수: 9 (최근 30일)
Jay Patel
Jay Patel 2020년 10월 17일
답변: Prudhvi Peddagoni 2020년 10월 21일
Hi all,
I want to convert my waveform into binary raw format. I am not sure how can i convert my waveforms into raw binary format ?
Please point me in the right direction.
  댓글 수: 2
Pratheek Punchathody
Pratheek Punchathody 2020년 10월 20일
Can you explain more about the waveform data?
Jay Patel
Jay Patel 2020년 10월 20일
I have CDMA signal (Attached) that I want to save as binary or raw file so eventually I can convert that to wav file and use for transmission.

댓글을 달려면 로그인하십시오.

채택된 답변

Prudhvi Peddagoni
Prudhvi Peddagoni 2020년 10월 21일
Hi,
you can export the waveform data raw binary format like this:
fid = fopen('YourOutputFile.raw', 'w');
fwrite(fid, x, class(x));
fclose(fid);
Hope this helps.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by