How to convert waveform in the binary raw format ?

13 ビュー (過去 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 Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by