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?
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.
Perform classification using discriminant analysis, naive Bayes classifiers, and decision trees. Suppose you have a data set containing observations with measurements on different variables (called predictors) and their known class labels. If you obtain predictor values for new observations, could you determine to which classes those
Simulating Automatic Climate Control Systems
Simulate the working of an automatic climate control system in a car using Simulink® and Stateflow®. You can enter a temperature value you would like the air in the car to reach by double
Use Simulink® to model a toy quadcopter, based on the Parrot (R) series of mini-drones, to help estimate the snow levels on the MathWorks Apple Hill campus roof.
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.
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
Unstable and neutral stratifications
The present example illustrates the calculation of the Obukhov length using the eddy-covariance method. The input is made of time series of the along-wind and vertical wind velocity
Neutral and unstable spectra
The wind spectra for a neutral and unstable atmospheric stratification are computed following the model proposed by Højstrup . The model of Højstrup aims to describe the wind spectra in
Approximating Nonlinear Relationships: Type S Thermocouple
Approximate nonlinear relationships of a type S thermocouple.
Manipulating Multidimensional Arrays
Work with arrays having more than two dimensions. Multidimensional arrays can be numeric, character, cell, or structure arrays.
To create two-dimensional line plots, use the plot function. For example, plot the value of the sine function from 0 to 2\pi :
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
Three-dimensional plots typically display a surface defined by a function in two variables, z = f(x,y) .