mpltseries Printings and graphs param_g

Grocer >> Printings and graphs > ndigits

ndigits

Rounds all elements of a matrix to the desired number of decimals

CALLING SEQUENCE

matr = ndigits(mat,digits)

PARAMETERS

Input

• mat = a (n x k) matrix

• digits= number of digits to display in each columns

Output

• matr = a (n x k) string matrix rounded to the desired number of decimals

DESCRIPTION

Rounds a matrix to the desired number of decimals and converts it into string

EXAMPLE

ndigits(grand(5,3,'nor',0,1),2)

AUTHOR

Emmanuel Michaux 2009
mpltseries Printings and graphs param_g