Oscillation about one point

2 visualizzazioni (ultimi 30 giorni)
Indu S
Indu S il 5 Giu 2021
Commentato: Indu S il 5 Giu 2021
I have an array of values I get from a sensor and the values undergo damped oscillated after the first few seconds. I want to find the point across which it oscillates. Can someone help me out?

Risposte (1)

Rik
Rik il 5 Giu 2021
It might be enough to use mean on the second half of your vector. Sometimes a simple solution will already do the trick.
The alternative would be to fit a function to your data, or to do a Fourier transform and keep only the low frequencies.
  4 Commenti
Walter Roberson
Walter Roberson il 5 Giu 2021
A sample plot would help, especially with a note about significant differences that might be detected before the damped oscillations.
Indu S
Indu S il 5 Giu 2021
The oscillations you can see from about 3 secons till 12 seconds is what I am talking about. Since it is not about 0, I want to find the new point.

Accedi per commentare.

Prodotti


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by