Satimage Previous | Next
Functions on matrices
Home Documentation Smile Computing Smile's maths Functions on matrices  
returns the transposed matrix.
applies a convolution defined by a 3 x 3 kernel that you specify as a list of 9 items. This smoothes the data contained in the matrix.
set the_filter to {0.25, 0.5, 0.25, 0.5, 1.0, 0.5, 0.25, 0.5, 0.25}
set the_filter to divlist the_filter with 4
set m to filter m using the_filter
reverse the lines of a matrix.
resample a matrix. The incoming matrix is divided into rectangular blocks. Each block may be replaced by its mean value or by another statistical value.
set m to ArrayToMatrix(randomarray 10 * 9, 10, 9)
set {m1,m2} to resamplematrix m blocksize {5, 3} wanted {"mean", "stdev"}
Version française
Copyright ©2008 Paris, Satimage