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.
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.
Radar Tracking Using MATLAB Function Block
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
Build a Digital Voltmeter
Build a digital voltmeter using MATLAB® Support Package for Raspberry Pi® Hardware.
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
Fit Exponential Models Using the fit Function
Fit an exponential model to data using the fit function.
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
Air Traffic Control Radar Design
Model a conceptual air traffic control (ATC) radar simulation based on the radar range equation.
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 :
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
Modeling a Fault-Tolerant Fuel Control System
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