Create a variety of 3-D plots in MATLAB®.

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

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?…

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.

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

This example shows how to change the grid line style using the GridLineStyle and MinorGridLineStyle axes properties. Line style options are a solid line, '-', a dotted line, ':', a dashed line, '--', and a dash-dotted line, '-.'.

This example shows several techniques to visualize four dimensional (4-D) data in MATLAB®.

This example shows the comparison of three DC motor control techniques for tracking setpoint commands and reducing sensitivity to load disturbances:

This example shows how to determine the minimum and maximum data points on a graph and add text descriptions next to these values.

This example shows phasor simulation of a 9-MW wind farm using Induction Generators (IG) driven by variable-pitch wind turbines.

This example shows how to 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.

This example file demonstrates basic usage.

Quasi-Monte Carlo method using rank-1 Lattices cubature over a d-dimensional region to integrate within a specified generalized error tolerance with guarantees under Fourier coefficients cone decay assumptions.

Monte Carlo method to evaluate a multidimensional integral

Quasi-Monte Carlo method using Sobol' cubature over the d-dimensional region to integrate within a specified generalized error tolerance with guarantees under Walsh-Fourier coefficients cone decay assumptions

1-D guaranteed locally adaptive function approximation (or function recovery) on [a,b]

1-D guaranteed global minimum value on [a,b] and the subset containing optimal solutions

This example shows how to combine Stateflow® with Simulink® to efficiently model hybrid systems. This type of modeling is particularly useful for systems that have numerous possible operational modes based on discrete events. Traditional signal flow is handled in Simulink while changes in control configuration are implemented in Stateflow. The model described below represents a fuel control system for a gasoline engine. The system is highly robust in that individual sensor failures are detected and the cont

This example shows how to use anti-windup schemes to prevent integration wind-up in PID controllers when the actuators are saturated. We use the PID Controller block in Simulink® which features two built-in anti-windup methods, back-calculation and clamping, as well as a tracking mode to handle more complex scenarios.

This example shows how to do some basic matrix manipulations in MATLAB®.

This example shows how to 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 Function block, the contents of which are stored in the Simulink model itself.

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

This example shows how to 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 clicking the User Setpoint in Celsius Block and entering the temperature value. You can also set the External Temperature in Celsius in a similar way. The numerical display on the right-hand side of the model shows the reading of a temperature sensor placed behind the driver's head. This is the te