June 2019
Beginner
553 pages
17h 41m
English
MATLAB has a number of functions that, when applied to either a row or column vector x, return a single number. For example, the command max(x) will compute the maximum entry of x, and the command sum(x) will return the value of the sum of the entries of x. Other functions of this form are min, prod, mean, all, and any. When used with a matrix argument, these functions are applied to each column vector and the results are returned as a row vector. For example, if
then
Read now
Unlock full access