How do I find the oscillation of these wobbles on matlab?

8 次查看(过去 30 天)

回答(1 个)

Star Strider
Star Strider 2020-6-2
I am not certain what you want.
If you want to find the predominant frequency, the best way is likely to use the fft function.
If you want to find the individual peak and trough locations, first use the detrend function to remove the linear trend, then findpeaks on the original vector to locate the peaks and the negative of the vector to locate the troughs. The islocalmax and islocalmin functions can also be used to find the peaks and troughs, respectively.
  7 个评论
Image Analyst
Image Analyst 2020-6-2
What did your textbook or instructor talk about recently? I bet you're supposed to use whatever method they discussed.

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by