How to convert waveform in the binary raw format ?

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 Comments

Can you explain more about the waveform data?
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.

Sign in to comment.

 Accepted Answer

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.

More Answers (0)

Categories

Find more on Waveform Design and Signal Synthesis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!