If I run the following code:
a = 12.0001;b = dec2hex(a);
I receive the following error message:
??? Error using ==> dec2hex at 27 First argument must contain non-negative integers.
MATLAB
a = 12.0001;b = dec2hex(a);
??? Error using ==> dec2hex at 27 First argument must contain non-negative integers.
Best Answer