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
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?
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
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.
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.
I become fascinated with the elegant mathematics of discrete math when my father gave me the Discrete Mathematics course by professor Benjmin through the Great Courses. When I saw the video
Loading the Files, extract Parameters, Ranges & Backtest Results
This example was authored by the MathWorks community.
This script file is designed to be used in cell mode from the matlab editor, or best of all, use the publish to HTML feature from the matlab editor. Older versions of matlab can copy and paste
Anti-Windup Control Using a PID Controller
Use anti-windup schemes to prevent integration wind-up in PID controllers when the actuators are saturated. We use the PID Controller block in Simulink® which features two built-in
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
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
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