MATLAB Examples
Plot the time and frequency responses of SISO and MIMO linear systems.
Acquire and display data from an accelerometer attached to a vehicle driven under uneven road conditions.
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.
Measure signal similarities. It will help you answer questions such as: How do I compare signals with different lengths or different sampling rates? How do I find if there is a signal or just noise in a measurement? Are two signals related? How to measure a delay between two signals (and how do I align them)? How do I compare the frequency content of two signals?
Detect a particular object in a cluttered scene, given a reference image of the object.
Simulate a basic communication system in which the signal is first QPSK modulated and then subjected to Orthogonal Frequency Division Multiplexing. The signal is then passed through an
Design lowpass filters. The example highlights some of the most commonly used command-line tools in the DSP System Toolbox. Alternatively, you can use the Filter Builder app to implement
Use the Communications System Toolbox to visualize signal behavior through the use of eye diagrams and scatter plots. The example uses a QPSK signal which is passed through a square-root
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
Lowpass filter an ECG signal that contains high frequency noise.
Use Simulink® to model a quadcopter, based on the PARROT® series of mini-drones.
This example was authored by the MathWorks community.
Original reference to the cell list algorithm: Heinz, T.N. & Hunenberger, P.H. "A fast pairlist-construction algorithm for molecular simulations under periodic boundary conditions." J
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
To create two-dimensional line plots, use the plot function. For example, plot the value of the sine function from 0 to 2\pi :
Use the Control System Toolbox™ and Simulink® Control Design™ to interact with Simulink to design a digital pitch control for the aircraft. In this example, we will design the controller to
Model a conceptual air traffic control (ATC) radar simulation based on the radar range equation.
Do some basic matrix manipulations in MATLAB®.
Work with arrays having more than two dimensions. Multidimensional arrays can be numeric, character, cell, or structure arrays.
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.