MATLAB Examples

Automatically detect and track a face using feature points. The approach in this example keeps track of the face even when the person tilts his or her head, or moves toward or away from the camera.

Perform basic peak analysis. It will help you answer questions such as: How do I find peaks in my signal? How do I measure distance between peaks? How do I measure the amplitude of peaks of a signal which is affected by a trend? How do I find peaks in a noisy signal? How do I find local minima?

Acquire IQ Data from a signal analyzer over a TCP/IP interface.

Detect a particular object in a cluttered scene, given a reference image of the object.

The comparison of three DC motor control techniques for tracking setpoint commands and reducing sensitivity to load disturbances:

This function evaluates a simple sigmoid function along x such that

Welcome to this MATLAB Video tutorial. If you have never used MATLAB before, this demonstration will get you started and show you where to go to next to learn more.

F. Moisy, 9 july 2008. University Paris Sud.

Animates the vibration of a membrane, captures a series of screen shots, and saves the animation as a GIF image file.

Use Simulink® to model a quadcopter, based on the PARROT® series of mini-drones.

Some basic examples on how to use mutliple input set functions:

The function NATSORT sorts a cell array of strings (1xN char), taking into account any number values within the strings. This is known as a natural order sort or an alphanumeric sort. Note that

The function NATSORTFILES sorts a cell array of filenames or filepaths (1xN char), taking into account any number values within the strings. This is known as a natural order sort or an

The function NATSORTROWS sorts the rows of a cell array of strings (1xN char), taking into account any number values within the strings. This is known as a natural order sort or an alphanumeric

Format. The user can specify any number of digits to be carried, while doing a variety of different numerical computations on these numbers. Not all MATLAB operators are defined, as my main

Rare events prediction in complex technical systems has been very interesting and critical issue for many industrial and commercial fields due to huge increase of sensors and rapid growth

Among many statistical anomaly detection techniques, Hotelling’s T-square method, a multivariate statistical analysis technique, has been one of the most typical method. This method

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

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

Simulate the working of an automatic climate control system in a car using Simulink® and Stateflow®. You can enter a temperature value you would like the air in the car to reach by double

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

Model a conceptual air traffic control (ATC) radar simulation based on the radar range equation.

Use two different approaches to modeling a bouncing ball using Simulink®.

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