Oscillation about one point
조회 수: 4 (최근 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.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
