Code covered by the BSD License
by Divakar Roy
13 Aug 2006
(Updated 12 Sep 2012)
Convert a number between different number systems-hex,oct,bin,dec.
% This function converts a string into an array.
% Class of variable - a is "char".
% Class of variable - b is "double".