Perform basic peak analysis. It will help you answer questions such as: How do I find peaks in my signal? How do I measure distance between peaks? How do I measure the amplitude of peaks of a signal which is affected by a trend? How do I find peaks in a noisy signal? How do I find local minima?
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
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.
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.
Compute Sample ACF and PACF
Compute the sample autocorrelation function (ACF) and partial autocorrelation function (PACF) to qualitatively assess autocorrelation.
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
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
Removing High-Frequency Noise from an ECG Signal
This examples shows you how to filter an ECG signal that has high-freqquency noise, and remove the noise by low-pass filtering.
Abaqus2Matlab is a Matlab toolbox which is used to retrieve the results of an Abaqus analysis in an easy to handle form. It is developed by George Papazafeiropoulos
The function NEXTNAME returns a file or folder name, incrementing a number at the end of the name to ensure that the returned name is not currently used.
You can display multiple plots in different subregions of the same window using the subplot function.
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
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
To create two-dimensional line plots, use the plot function. For example, plot the value of the sine function from 0 to 2\pi :