Real Value Conversion to Binary with Range

Again, i write on the same topic. Sorry for that.
Within the range values (e.g. [0,25]) how can i convert my real numbers to binary digits. The number of bits must be 15..
Thanks

 Accepted Answer

More Answers (1)

b
b on 11 May 2012
Thanks again.
Do you have any idea to convert the binary digits to real values??

1 Comment

Let B be the binary digits. Then
bin2dec(char(B + '0')) ./ 2^10

Sign in to comment.

Categories

Community Treasure Hunt

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

Start Hunting!