MathWorks
  • Sign In
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Contact Us
  • How to Buy
  • Contact Us
  • How to Buy
  • Sign In
MathWorks
  • Products
  • Solutions
  • Academia
  • Support
  • Community
  • Events
  • Examples
  • Support
  • MathWorks

MATLAB Examples

MATLAB Family

  • MATLAB
  • Parallel Computing
  • Math, Statistics, and Optimization
  • Control Systems
  • Signal Processing and Communications
  • Image Processing and Computer Vision
  • Test & Measurement
  • Computational Finance
  • Computational Biology
  • Code Generation
  • Database Access and Reporting
  • Application Deployment

Simulink Family

  • Simulink
  • Event-Based Modeling
  • Physical Modeling
  • Control Systems
  • Signal Processing and Communications
  • Code Generation
  • Real-Time Simulation and Testing
  • Verification, Validation, and Test
  • Simulation Graphics and Reporting

Polyspace Family

  • Polyspace Product Family
Respdemo_13

Plotting System Responses

Plot the time and frequency responses of SISO and MIMO linear systems.

Included in: Control System Toolbox

Demo_compactdaq_accelerometer_01

Acquire Data from an Accelerometer

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

Included in: Data Acquisition Toolbox

Defaultimage

Contrast Enhancement Techniques

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.

Included in: Image Processing Toolbox

Defaultimage

Measuring Signal Similarities

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?

Included in: Signal Processing Toolbox

Featurebasedobjectdetectionexample_12

Object Detection in a Cluttered Scene Using Point Feature Matching

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

Included in: Computer Vision System Toolbox

Previous Next

Most Viewed

2813

QPSK and OFDM with MATLAB System Objects

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

2434

Lowpass Filter Design in MATLAB

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

2820

Scatter Plot and Eye Diagram with MATLAB Functions

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

Aero_guidance_13

Designing a Guidance System in MATLAB and Simulink

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

Removinghighfrequencynoisefromanecgsignalexample_01

Removing High-Frequency Noise from an ECG Signal

Lowpass filter an ECG signal that contains high frequency noise.

Defaultimage

Quadcopter Project

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

Most Recent

Defaultimage

cat_atom.m

This example was authored by the MathWorks community.

Defaultimage

cell_list_dist_matrix_atom.m

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

Defaultimage

center_atom.m

This example was authored by the MathWorks community.

Defaultimage

charge_atom.m

This example was authored by the MathWorks community.

Defaultimage

charge_clayff_atom.m

This example was authored by the MathWorks community.

Defaultimage

charge_interface15_charge.m

This example was authored by the MathWorks community.

Getting Started

Sldemo_hydcylexample_06

Single Hydraulic Cylinder Simulation

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

26174

2-D and 3-D Plots

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

Slexaircraftpitchcontrolexample_13

Designing a High Angle of Attack Pitch Mode Control

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

Aero_atcscript_04

Air Traffic Control Radar Design

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

Defaultimage

Matrix Manipulation

Do some basic matrix manipulations in MATLAB®.

26101

Manipulating Multidimensional Arrays

Work with arrays having more than two dimensions. Multidimensional arrays can be numeric, character, cell, or structure arrays.

MathWorks

Select Your Country

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

Select

You can also select a location from the following list:

How to Get Best Site Performance

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

Americas

  • América Latina (Español)
  • Canada (English)
  • United States (English)

Europe

  • Belgium (English)
  • Denmark (English)
  • Deutschland (Deutsch)
  • España (Español)
  • Finland (English)
  • France (Français)
  • Ireland (English)
  • Italia (Italiano)
  • Luxembourg (English)
  • Netherlands (English)
  • Norway (English)
  • Österreich (Deutsch)
  • Portugal (English)
  • Sweden (English)
  • Switzerland
    • Deutsch
    • English
    • Français
  • United Kingdom (English)

Asia Pacific

  • Australia (English)
  • India (English)
  • New Zealand (English)
  • 中国
    • 简体中文
    • English
  • 日本 (日本語)
  • 한국 (한국어)
Explore Products
  • MATLAB
  • Simulink
  • Student Software
  • Hardware Support
  • File Exchange
Try or Buy
  • Downloads
  • Trial Software
  • Contact Sales
  • Pricing and Licensing
Learn to Use
  • Documentation
  • Tutorials
  • Examples
  • Videos and Webinars
  • Training
Get Support
  • Installation Help
  • Answers
  • Consulting
  • Application Status
  • License Center
About MathWorks
  • Careers
  • Newsroom
  • Social Mission
  • About MathWorks

MathWorks

Accelerating the pace of engineering and science

MathWorks is the leading developer of mathematical computing software for engineers and scientists.

Discover...

  • Benelux
  • Patents
  • Trademarks
  • Privacy Policy
  • Preventing Piracy

© 1994-2018 The MathWorks, Inc.

  • Facebook
  • Twitter
  • Google+
  • LinkedIn
  • RSS

Join the conversation