mtlb_dec2hex - Matlab dec2hex emulation function
Matlab and Scilab
behave differently in some particular cases:
With empty matrix: Matlab
returns "" but in Scilab you get .
With complex inputs: Matlab
automatically removes complex part of inputs but not Scilab one.
always returns a row vector but in Scilab
returns a value which have the same size as the input.
can have two inputs but not Scilab one.
is used by
when it was not
possible to know what were the inputs while porting Matlab code to Scilab. This function will
determine the correct semantic at run time. If you want to have a
more efficient code it is possible to replace
is not an empty matrix,
may be replaced by
is complex and by
has not to be used for hand coded functions.