MATLAB Examples

The xcorr3 function gives a map of correlation between grid cells of a 3D spatiotemporal dataset and a reference time series.

Contour plot after loess2 surface fit.

This script walks through the data pre-processing and machine learning tasks required to design a fault detection algorithm. The machine learning technique can also be designed to perform

The Evolutionary Power Spectral Density (EPSD) [1] is compared to the well-known spectrogram implemented in Matlab. The EPSD produces a smoother signal, especially if the amount of data

Copyright 2016 The MathWorks, Inc.

Compare mean and standard deviation for groups.

This example was authored by the MathWorks community.

Alternative display of data.

Apply loess smoothing to sunspot data. This helps comparison with melanoma data.

Create Datastore

Match bin range to data range.

Use scatter3

Use labels instead of legend.

Compare loess fits.

Use scattermatrix

Use multidotplot

Scatter plot with color.

Contour plot with inline labels and loess2.

Filled contour of galaxy data with consistent colorbar

Filled contour of galaxy data with yellow to red colormap

Use boxparams, boxplotter

This function plots a power spectral density of a time series using the periodogram function.

Contour plot.

Use image to display soil data.

Filled contour of soil data with custom colormap

Use scattermatrixc

Apply jitter.

Scatter plot array of environmental data

Use addfit, rfplot

Use simple plot with barley data.

Use mdplot to show where Morris should have been.

Make a traditional plot to demonstrate obscurity.

Make a traditional plot to demo obscurity.

Use normalqqplot in subplot array.

Use boxparams, dotplot

Use rfplot

Use quantileplot

Quantileplot for singer

Use normalqqplot

Use normalqqplot with transformed data

Use slplot.

Qqplot for singer

Use rfplot.

Use powerxform, normalqqplot.

Mdplot for singer

Plot ganglion data

Use rdplot

Use rdplot.

Use slplotr

Show fit after log transform.

Use rdplot after log transform.

Use slplotr after log transform.

Use rfplot after transform.

Use normalqqplot after transform.

Simple plot for dating.

Show classic and robust fits.

Use equalcount, givenplot

Simple data plot

Plot data with jitter

Plot group mean values with trend line.

Plot data with poly fits.

Plot group mean residuals.

Use bank45 to adjust aspect ratio.

Plot residuals from loess. Use bank45.

Compare loess parameters.

Simple plot with bank45

Plot without bank45

Seasonal analysis

Remove average seasonal effect using seasonaloess.

Use coplot

Use jitter

Contour plot after surface fit with loess2

Mesh plot after surface fit using loess2

Simple plot.

Filled contour plot after surface fit.

Surface plot with lighting

Plot iris computed parameters.

Use addfit, dotplot

The present example is similar to the one used in [5], where the dynamic response of a 100 m high clamped-free steel beam was studied. Simulated time series are used, where the first 4

The example shows how to perform a Strucutral Equation Model with Partial Least Squares using PLS-PM matlab toolbox by Aria M.(2015).

The filter1 function performs frequency or wavelength filtering on a 1D array using zero-phase Butterworth filtering.

Basic toolbox for polynomial B-splines on a regular grid

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.