FUNCTION REFERENCE
de2bi
Convert decimal integers to rows of base-p digits.
Convert decimal integers to rows of base-p digits.
Syntax
b = de2bi(d,n,p,flg)Defaults: minimum digit count, base 2, 'right-msb'. Specify [] to infer n, or 'left-msb' for descending significance. Input is flattened column-wise; output has one row per input element. Too few columns is an error.
Example
de2bi([2 5 7],3,2,'left-msb')Differences from MATLAB: base is limited to 2..65536, digit count to 4096; integer outputs are double.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.