Why the function "bi2de" only returns non-negative integers, when the description says it returns non-negative real numbers!
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I read that the function bi2de takes any binary vector - "a vector composed of only zeros and ones" and returns a non-negative real number. But, I tried it many times it returns positive integers!
0 Commenti
Risposte (1)
Walter Roberson
il 1 Set 2019
Not sure where you are reading that. The document says
d =bi2de(b) converts a binary row vector b to a nonnegative decimal integer.
0 Commenti
Vedere anche
Categorie
Scopri di più su Data Type Conversion 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!