Instantaneous Frequency Explorer
Version 1.0.1 (929 KB) by
Duncan Carlsmith
Live Script exploring methods to estimate the instantaneous frequency of a quasi-harmonic signal.
This educational Live Script explores methods for extracting the instantaneous frequency from a noisy frequency-modulated signal. The methods include the Hilbert transform, a simplified Hilbert transformation I call the Dilbert transform, zero-crossing rate, short-term fast Fourier transforms (FFT), and a classic FM demodulating scheme. A supplied zero-crossing rate function with interpolation of the zero-crossing time is compared to the MATLAB zerocrossrate function. Dilbert is competitive with Hilbert in accuracy, but FM demodulation wins at low signal-to-noise ratio.
This script may interest students and instructors in physics and other STEM fields. 'Try this' suggestions, coding "Challenges," hyperlinks, and references are included for further exploration. Additional educational Live Scripts by the author are available here.
Cite As
Duncan Carlsmith (2025). Instantaneous Frequency Explorer (https://nl.mathworks.com/matlabcentral/fileexchange/181513-instantaneous-frequency-explorer), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2025a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
