Oscillation about one point
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Rik
2021-6-5
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 个评论
Walter Roberson
2021-6-5
A sample plot would help, especially with a note about significant differences that might be detected before the damped oscillations.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!