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
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.
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.
Fit Exponential Models Using the fit Function
Fit an exponential model to data using the fit function.
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
Wind Farm (IG)
Phasor simulation of a 9-MW wind farm using Induction Generators (IG) driven by variable-pitch wind turbines.
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
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
Approximating Nonlinear Relationships: Type S Thermocouple
Approximate nonlinear relationships of a type S thermocouple.
To create two-dimensional line plots, use the plot function. For example, plot the value of the sine function from 0 to 2\pi :
Simulation of a Bouncing Ball
Use two different approaches to modeling a bouncing ball using Simulink®.
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