How to convert waveform in the binary raw format ?

14 次查看(过去 30 天)
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 个评论
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