Other MATLAB functions operate essentially on a vector (row or column), but act on an m-by-n matrix (m > 2) in a column-by-column fashion to produce a row vector containing the results of each column. A few of these functions are
max sum median any
min prod mean all
sort std
For example, the maximum entry in a matrix A is given by
max(max(A))
rather than
max(A)
Click on an item listed below to access additional MATLAB-related hints.
Return to ACS home page.
Please send comments and suggestions to
consult@rpi.edu