MATLAB: Hi, is there any way, I can save a random binary data after generating it?any suggestion would be appreciated! thank you

binarydatasave binary data

Example, after generating a long binary data a=[1 0 0 1 0 0 1 1 1 ]; how do I save it?

Best Answer

Did you try the save command?
a = [1 0 0 1 0 0 1 1 1 ];
save('my_data', 'a');