Edge Detection on Images
Generate a standalone C library from MATLAB code that implements a simple Sobel filter that performs edge detection on images. The example also shows how to generate and test a MEX function in
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
ANOVA with Random Effects
Use anovan to fit models where a factor's levels represent a random selection from a larger (infinite) set of possible levels.
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
Lithium Battery Cell - Two RC-Branch Equivalent Circuit
Model a lithium cell using the Simscape™ language to implement the elements of an equivalent circuit model with two RC branches. For the defining equations and their validation, see T.
Based on "Finite Element Methods for flow problems" of Jean Donea and Antonio Huerta
This example was authored by the MathWorks community.
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
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
Basic Matrix Operations
Basic techniques and functions for working with matrices in the MATLAB® language.
Air Traffic Control Radar Design
Model a conceptual air traffic control (ATC) radar simulation based on the radar range equation.
Single Hydraulic Cylinder Simulation
Use Simulink® to model a hydraulic cylinder. You can apply these concepts to applications where you need to model hydraulic behavior. See two related examples that use the same basic