\section{DEC2BIN Convert Decimal to Binary String}

\subsection{USAGE}

Converts an integer to a binary string.  The syntax for its
use is
\begin{verbatim}
   y = dec2bin(x,n)
\end{verbatim}
where \verb|x| is the positive integer, and \verb|n| is the number of
bits to use in the representation.  Alternately, if you leave
\verb|n| unspecified, 
\begin{verbatim}
   y = dec2bin(x)
\end{verbatim}
the minimum number of bits needed to represent \verb|x| are used.
If \verb|x| is a vector, then the resulting \verb|y| is a character
matrix.
\subsection{Example}

Here we convert some numbers to bits
\begin{verbatim}
--> dec2bin(56)
ans = 
  <string>  - size: [1 6]
 111000
--> dec2bin(1039456)
ans = 
  <string>  - size: [1 20]
 11111101110001100000
--> dec2bin([63,73,32],5)
ans = 
  <string>  - size: [3 5]
 11111
 01001
 00000

\end{verbatim}
