Hello everyone. I converted 4 into binary and got 100 . my problem is that i want to use this 100 as a decimal but the matlab is obviously treating it as a binary number. Please help
Ältere Kommentare anzeigen
please help
Akzeptierte Antwort
Weitere Antworten (1)
lvn
am 28 Feb. 2014
The following code gives you a decimal 100:
str2double(dec2bin(4))
Kategorien
Mehr zu Multirate Signal Processing 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!