Modeling the United States Economy
Illustrates the use of a vector error-correction (VEC) model as a linear alternative to the Smets-Wouters Dynamic Stochastic General Equilibrium (DSGE) macroeconomic model, and applies many of the techniques of Smets-Wouters to the description of the United States economy.
Build a Digital Voltmeter
Build a digital voltmeter using MATLAB® Support Package for Raspberry Pi® Hardware.
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
Compare Fits Programmatically
Fit and compare polynomials up to sixth degree using Curve Fitting Toolbox, fitting some census data. It also shows how to fit a single-term exponential equation and compare this to the
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
The recommended workflow for generating C code from a MATLAB function using the 'codegen' command. These are the steps: 1. Add the %#codegen directive to the MATLAB function to indicate that
The uniform-shear model is computed with the parameters used in Mann (1998)  and compared to the spectra from the Great belt experiment, which are displayed in Mann (1994). The three
The Critical flutter velocity is computed for 2 single-span suspension bridges: One with a main span of 1.2 km and the other one with the main span of 0.45 km. The coupling of the lateral,
The data is a measurement from a class room The documentation of the measurement is found at http://legacy.spa.aalto.fi/projects/poririrs/
The data are room impulse responses measured in a control room type space in home environment.
Simulation of a Bouncing Ball
Use two different approaches to modeling a bouncing ball using Simulink®.
Designing a Guidance System in MATLAB and Simulink
Use the model of the missile airframe presented in a number of published papers (References ,  and ) on the use of advanced control methods applied to missile autopilot design. The
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 :
Basic Matrix Operations
Basic techniques and functions for working with matrices in the MATLAB® language.
Anti-Windup Control Using a PID Controller
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