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?
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.
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
Build a Digital Voltmeter
Build a digital voltmeter using MATLAB® Support Package for Raspberry Pi® Hardware.
Control HC-SR04 Ultrasonic Sensor
Use the MATLAB® Support Package for Arduino® Hardware to control a HC-SR04 ultrasonic ranging module capable of measuring distances in the 2cm to 400cm range.
Computing a fractal dimension with Matlab: 1D, 2D and 3D Box-counting
F. Moisy, 9 july 2008. University Paris Sud.
Illustrates a workflow for modeling an audio processing application in MATLAB and deploying C/C++ code to create a standalone application on a Raspberry Pi. MATLAB coder generates
Run MATLAB Code on Raspberry Pi Hardware
Illustrates a MATLAB® Coder™ based workflow for running MATLAB code on Raspberry Pi. MATLAB Coder generates readable and portable C / C++ code from MATLAB code, supporting most of the MATLAB
Modeling an Automatic Transmission Controller
Model an automotive drivetrain with Simulink®. Stateflow® enhances the Simulink model with its representation of the transmission control logic. Simulink provides a powerful
To create two-dimensional line plots, use the plot function. For example, plot the value of the sine function from 0 to 2\pi :
You can display multiple plots in different subregions of the same window using the subplot function.
Manipulating Multidimensional Arrays
Work with arrays having more than two dimensions. Multidimensional arrays can be numeric, character, cell, or structure arrays.
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