MATLAB Examples

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

Copyright 2016 The MathWorks, Inc.

Basic toolbox for polynomial B-splines on a regular grid

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.

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

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

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

Scatter plot array of environmental data

Use normalqqplot in subplot array.

Surface plot with lighting

Contour plot with inline labels and loess2.

This example was authored by the MathWorks community.

Match bin range to data range.

Apply jitter.

Use scatter3

Contour plot after loess2 surface fit.

Contour plot after surface fit with loess2

Compare loess fits.

Alternative display of data.

Use simple plot with barley data.

Use rfplot.

Remove average seasonal effect using seasonaloess.

Simple plot.

Qqplot for singer

Use equalcount, givenplot

Make a traditional plot to demonstrate obscurity.

Use slplotr

Mesh plot after surface fit using loess2

Use normalqqplot

Use mdplot to show where Morris should have been.

Filled contour plot after surface fit.

Use image to display soil data.

Use quantileplot

Use jitter

Show fit after log transform.

Plot data with poly fits.

Use scattermatrix

Plot without bank45

Quantileplot for singer

Filled contour of galaxy data with consistent colorbar

Use boxparams, dotplot

Use bank45 to adjust aspect ratio.

Plot residuals from loess. Use bank45.

Contour plot.

Show classic and robust fits.

Plot group mean values with trend line.

Plot group mean residuals.

Use rfplot after transform.

Compare mean and standard deviation for groups.

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

Use addfit, dotplot

Use normalqqplot with transformed data

Use rdplot.

Simple plot with bank45

Use coplot

Use scattermatrixc

Use powerxform, normalqqplot.

Use boxparams, boxplotter

Use rdplot

Compare loess parameters.

Mdplot for singer

Simple data plot

Use multidotplot

Use rfplot

Plot data with jitter

Scatter plot with color.

Filled contour of soil data with custom colormap

Plot ganglion data

Use slplot.

Use rdplot after log transform.

Use addfit, rfplot

Plot iris computed parameters.

Use slplotr after log transform.

Simple plot for dating.

Seasonal analysis

Filled contour of galaxy data with yellow to red colormap

Use labels instead of legend.

Make a traditional plot to demo obscurity.

Use normalqqplot after transform.

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:

See all countries