Finding the frequency and the phase shift of a Sin signal
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ahmad Badran
am 16 Mai 2021
Kommentiert: Star Strider
am 17 Mai 2021
Hallo,
i have this sin function with damping discribed with the equation in the photo, the plot under it is my signal.
how can i claculate F0 and phi0 of my Signal?
0 Kommentare
Akzeptierte Antwort
Star Strider
am 16 Mai 2021
One option is described in Curve fitting to a sinusoidal function and a version that could be more appropriate to your problem is How to filter noise from time-frequency data and find natural frequency of a cantilever?
The one change I would make to that code is to replace the ‘zci’ funciton with:
zci = @(x) find(diff(sign(x)));
since it is more robust.
Those routines will calculate the frequency, phase, and other parameters.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Spectral Measurements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!