Real Value Conversion to Binary with Range
Ältere Kommentare anzeigen
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
Akzeptierte Antwort
Weitere Antworten (1)
b
am 11 Mai 2012
0 Stimmen
1 Kommentar
Walter Roberson
am 11 Mai 2012
Let B be the binary digits. Then
bin2dec(char(B + '0')) ./ 2^10
Kategorien
Mehr zu Numeric Types finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!