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.
引用格式
DS (2024). Convert decimal integer to arbitrary base. (https://www.mathworks.com/matlabcentral/fileexchange/35133-convert-decimal-integer-to-arbitrary-base), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2007b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Data Type Conversion 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!