num2bin
Convert number to binary representation.
📝 Syntaxe
R = num2bin(M)
📥 Argument d'entrée
M - a variable: logical, integer, single or double real full matrix.
📤 Argument de sortie
R - result of num2bin: char array.
📄 Description
num2bin returns a char array giving the literal bit representation of a number.
Fonction(s) utilisée(s)
C++ std::bitset
📚 Bibliographie
http://www.oxfordmathcenter.com/drupal7/node/43
💡 Exemple
X = [65535 128; 1 0]
Y = num2bin(X)🔗 Voir aussi
🕔 Historique
Version
📄 Description
1.0.0
version initiale
Last updated
Was this helpful?