4. Statistical Data Analysis

MATLAB contains many functions that you can use to calculate statistics of vectors. Some of the most common functions include:

Statistic Functions
Function Description
min Value of the minimum element
max Value of the maximum element
mean The average of the elements
median The median value of the elements
mode Most frequent values
std The standard deviation of the elements
sum Sum of elements
prod Product of elements