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.
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?
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
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
Wind Farm (IG)
Phasor simulation of a 9-MW wind farm using Induction Generators (IG) driven by variable-pitch wind turbines.
ANOVA with Random Effects
Use anovan to fit models where a factor's levels represent a random selection from a larger (infinite) set of possible levels.
Persistent Data for Lookup Tables in Simulink
When you are loading large files for lookup table data from a mat file, the loading of the file is a major cost of time when running the Simulink model. The time cost can be reduced by keeping the
This script file is designed to be used in cell mode from the matlab editor, or best of all, use the publish to HTML feature from the matlab editor. Older versions of matlab can copy and paste
Air Traffic Control Radar Design
Model a conceptual air traffic control (ATC) radar simulation based on the radar range equation.
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
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
Simulation of a Bouncing Ball
Use two different approaches to modeling a bouncing ball using Simulink®.