Rounds all elements of a matrix to the desired number of decimals
matr = ndigits(mat,digits)
* mat = a (n x k) matrix
* digits = number of digits to display in each columns
* matr = a (n x k) string matrix rounded to the desired number of decimals
ndigits(grand(5,3,'nor',0,1),2) | ![]() | ![]() |