Convert decimal integer to arbitrary base.
Version 1.1.0.0 (1,4 ko) par
DS
DECIMAL_CONVERT generates a vector of coefficients representing a base 10 integer in a chosen base.
DECIMAL_CONVERT(D,B) returns the representation of decimal integer, D, as a vector of coefficients such that:
D = xn*B^n + ... + x2*B^2 + x1*B^1 + x0*B^0
where B is the chosen base.
See also polyval, dec2base, base2dec, de2bi, bi2de.
Citation pour cette source
DS (2026). Convert decimal integer to arbitrary base. (https://fr.mathworks.com/matlabcentral/fileexchange/35133-convert-decimal-integer-to-arbitrary-base), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2007b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Data Type Conversion dans Help Center et MATLAB Answers
Tags
Remerciements
A inspiré : Convert an A1-style spreadsheet column label to a number.
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.1.0.0 | Text edit; no code changes. |
||
| 1.0.0.0 |
