C++ Math Library Reference | ![]() ![]() |
Decimal to binary number conversion
C++ Prototype
mwArray dec2bin(const mwArray &d); mwArray dec2bin(const mwArray &d, const mwArray &n);
C++ Syntax
#include "matlab.hpp" mwArray d, n; // Input argument(s) mwArray str; // Return value str = dec2bin(d); str = dec2bin(d,n);
MATLAB Syntax
str = dec2bin(d) str = dec2bin(d,n)
See Also
dec2bin
Calling Conventions![]() | dec2base | dec2hex | ![]() |