convert binary vector value into decimal
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i have
a= [0 0 1 0 1 0 1 1]
i want to convert it, into decimal value 43
0 Kommentare
Antworten (3)
Azzi Abdelmalek
am 26 Feb. 2014
Bearbeitet: Azzi Abdelmalek
am 26 Feb. 2014
a= [0 0 1 0 1 0 1 1];
b=bin2dec(sprintf('%d',a))
0 Kommentare
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!