Home > marl > lib > ndi2lin.m

ndi2lin

PURPOSE ^

NDI2LIN Convert a decimal number to a "number" in an arbitrary base

SYNOPSIS ^

function lin = ndi2lin(ndi,dims)

DESCRIPTION ^

NDI2LIN Convert a decimal number to a "number" in an arbitrary base
       per digit. Useful for converting indices of N-D arrays into
       indices of linear arrays (reverse operation to LIN2NDI).
       NDI2LIN(NDI,BASE) converts the number NDI expressed in the 
       bases BASE into a decimal number. 

       See also LIN2NDI.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 04-Aug-2010 16:55:08 by m2html © 2005