Fit Sinusoidal Model Explorer
Version 1.0.0 (1,66 MB) von
Duncan Carlsmith
Live Script that explores a two-step method to fit data to a sum of sinusoidal signals.
A common signal processing challenge is to fit a data vector
corresponding to independent variable values
to a sum of sinusoidal signals of different frequencies assuming normal uncorrelated stationary noise. This Live Script illustrates a two-step method of solution based on separable regression. The data model in the form
is linear in the amplitude vector
but nonlinear in the elements of the frequency vector
. The least squares solution for
has an exact expression
in terms of the data and frequencies. Using this expression,
may be expressed in as a nonlinear function
of
and
and a numerical method used to minimize
to obtain an estimate
by first locating peaks in the periodogram to provide an initial estimate. The amplitude vector estimates may then be computed as
.
This educational Live Script may interest students and instructors of physics and other STEM fields. 'Try this' suggestions and coding 'Challenges' along with hyperlinks and references are included for further exploration.
Zitieren als
Duncan Carlsmith (2025). Fit Sinusoidal Model Explorer (https://www.mathworks.com/matlabcentral/fileexchange/180280-fit-sinusoidal-model-explorer), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2024b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
FitSinusoidalModelExplorer folder
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |