Descriptive Statistics

Range, central tendency, standard deviation, variance, correlation

Functions

expand all

minMinimum elements of an array
minkFind k smallest elements of array
maxMaximum elements of an array
maxkFind k largest elements of array
boundsSmallest and largest elements
topkrowsTop rows in sorted order
meanAverage or mean value of array
medianMedian value of array
modeMost frequent values in array
stdStandard deviation
varVariance
corrcoefCorrelation coefficients
covCovariance
xcorrCross-correlation
xcovCross-covariance
cummaxCumulative maximum
cumminCumulative minimum
movmadMoving median absolute deviation
movmaxMoving maximum
movmeanMoving mean
movmedianMoving median
movminMoving minimum
movprodMoving product
movstdMoving standard deviation
movsumMoving sum
movvarMoving variance

Topics

Descriptive Statistics

Analyze data with basic statistics.

Inconsistent Data

Identify outliers within data sets.

Linear Correlation

Covariance and correlation coefficients help to describe the linear relationship between variables.

Linear Regression

Least squares fitting is a common type of linear regression that is useful for modeling relationships within data.

Interactive Fitting

The Basic Fitting UI is an interactive data modeling tool.

Programmatic Fitting

There are many functions in MATLAB® that are useful for data fitting.