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

10 Ansichten (letzte 30 Tage)
Hamza Aboumaray
Hamza Aboumaray am 2 Jun. 2020
Kommentiert: Star Strider am 2 Jun. 2020

Antworten (1)

Star Strider
Star Strider am 2 Jun. 2020
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 Kommentare
Image Analyst
Image Analyst am 2 Jun. 2020
What did your textbook or instructor talk about recently? I bet you're supposed to use whatever method they discussed.
Star Strider
Star Strider am 2 Jun. 2020
Hamza Aboumaray — My pleasure!

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by