I have a set of data stored in matlab as variable x which contains 500 data points (values between 3 to 800)
i want to store this data as a binary format so that i can use it in a different software.
can someone help me out please.

 채택된 답변

Andreas Goser
Andreas Goser 2012년 5월 3일

0 개 추천

As I said -"The term "binary format" may be used in different ways.". You are then looking for DEC2BIN. An example is in the documentation.

댓글 수: 1

hardik
hardik 2012년 5월 4일
thank you! i was looking for this for very long time. but i couldn't spot it.

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Andreas Goser
Andreas Goser 2012년 5월 3일

1 개 추천

The term "binary format" may be used in different ways. From the MATLAB perspective, there is the FWRITE command to "Write data to binary file".
hardik
hardik 2012년 5월 3일

0 개 추천

this dosent help me much since i wana store those 2 to 800 variables into the format of 1 0 001101011010101010011........
could u please tel me a bit more. or perhaps u can give me an example please

댓글 수: 1

Walter Roberson
Walter Roberson 2012년 5월 3일
Complete with the space?
So that's the _character_ '0' and the _character_ '1' ? Or are those supposed to be a representation of consecutive bits?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by