How to convert waveform in the binary raw format ?

13 vues (au cours des 30 derniers jours)
Jay Patel
Jay Patel le 17 Oct 2020
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 commentaires
Pratheek Punchathody
Pratheek Punchathody le 20 Oct 2020
Can you explain more about the waveform data?
Jay Patel
Jay Patel le 20 Oct 2020
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.

Connectez-vous pour commenter.

Réponse acceptée

Prudhvi Peddagoni
Prudhvi Peddagoni le 21 Oct 2020
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.

Plus de réponses (0)

Catégories

En savoir plus sur Data Type Conversion dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by