\HeaderA{extendNBase}{Extend the row number of a matrix as the exponential of base N}{extendNBase}
\keyword{methods}{extendNBase}
\begin{Description}\relax
Extend the data as the exponential of base N by increasing row number.
\end{Description}
\begin{Usage}
\begin{verbatim}
extendNBase(x, nLevel=1, base=2, ...) 
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] data matrix 
\item[\code{nLevel}] the level of DWT decomposition. Basically, it is equivalent to changing the 'base' as base\bsl{}textasciicircum{}nLevel
\item[\code{base}] the base, 2 by default 
\item[\code{...}] other parameters of used by \code{\LinkA{extendLength}{extendLength}} 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The method 'open' is padding the the matrix with the last row.
\end{Details}
\begin{Value}
Return a extended matrix
\end{Value}
\begin{Author}\relax
Pan Du
\end{Author}
\begin{SeeAlso}\relax
\code{\LinkA{extendLength}{extendLength}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
        # a = matrix(rnorm(9), 3)
        # extendNBase(a)        ## not exposed function
\end{ExampleCode}
\end{Examples}

