Neural Network Frequency and Phase Detector

Live Script illustrating detection of frequency and phase of a noisy signal with a neural network.

You are now following this Submission

This educational Live Script illustrates the construction, training, and testing of a neural network to estimate the frequency and phase of a harmonic signal embedded in Gaussian noise. It shows how to use feedforwardnet and dlnetwork (from the Deep Learning Toolbox) in a nonlinear regression task with multiple continuous outputs and how to save the results for later use. The methods can be extended to similar regression problems.
This script may interest students and instructors in physics and related fields. 'Try this' suggestions, coding 'Challenges,' hyperlinks, and references are included for further exploration. Additional related Live Scripts by the author are available here.

Cite As

Duncan Carlsmith (2026). Neural Network Frequency and Phase Detector (https://www.mathworks.com/matlabcentral/fileexchange/181239-neural-network-frequency-and-phase-detector), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.01

Added interactive_examples tag

1.0.0