MATLAB Examples

Several image enhancement approaches. Three functions are particularly suitable for contrast enhancement: imadjust, histeq, and adapthisteq. This example compares their use for enhancing grayscale and truecolor images.

Economists and policymakers are concerned with understanding the dynamics of economies, especially during periods of significant macroeconomic shocks. Although numerous approaches are possible, we will develop a small macroeconomic model in the style of Smets and Wouters.

Design lowpass FIR filters. Many of the concepts presented here can be extended to other responses such as highpass, bandpass, etc.

Acquire and display data from an accelerometer attached to a vehicle driven under uneven road conditions.

Use the FFT function to analyze the variations in sunspot activity over the last 300 years.

Use functional derivatives in the Symbolic Math Toolbox™ using the example of the wave equation. The wave equation for a string fixed at its ends is solved using functional derivatives. A

Create a graph in a new figure window, instead of plotting into the current figure.

Anonymous functions require that you explicitly specify the input arguments as you would for a standard function, separating multiple inputs with commas. For example, this function

Use anovan to fit models where a factor's levels represent a random selection from a larger (infinite) set of possible levels.

Three-dimensional plots typically display a surface defined by a function in two variables, z = f(x,y) .

This examples shows you how to filter an ECG signal that has high-freqquency noise, and remove the noise by low-pass filtering.

Based on "Finite Element Methods for flow problems" of Jean Donea and Antonio Huerta

M2uml 1.1 includes new feaures

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

In view of the stunning success of new lines of argument in the political debate, it is high time to free also science and engineering from the fetters of a small-minded rationale. Stimulated

I'm positive that some simple UML-diagrams could help us organizing our Matlab code. See UmlAsSketch by Martin Fowler.

The Fibonacci numbers are an easily accessible area in number theory. As well, they appear in many places in mathematics and in nature , look here too . For those interested in reading more

Basic techniques and functions for working with matrices in the MATLAB® language.

Use the model of the missile airframe presented in a number of published papers (References [1], [2] and [3]) on the use of advanced control methods applied to missile autopilot design. The

Use an extended Kalman filter with the MATLAB® Function block in Simulink® to estimate an aircraft's position from radar measurements. The filter implementation is found in the MATLAB

To create two-dimensional line plots, use the plot function. For example, plot the value of the sine function from 0 to :

Create a figure containing multiple axes using the subplot function. The syntax, subplot(m,n,p), divides the figure into an m-by-n grid with an axes in the pth grid location. The grids are

Use Simulink® to model a hydraulic cylinder. You can apply these concepts to applications where you need to model hydraulic behavior. See two related examples that use the same basic

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