convert binary vector value into decimal
15 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
i have
a= [0 0 1 0 1 0 1 1]
i want to convert it, into decimal value 43
0 Commenti
Risposte (3)
Azzi Abdelmalek
il 26 Feb 2014
Modificato: Azzi Abdelmalek
il 26 Feb 2014
a= [0 0 1 0 1 0 1 1];
b=bin2dec(sprintf('%d',a))
0 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!