Optimizing filter to give certain local minima points

I have a plot of average speed versus time with some noise. The average speed drops to about zero(stationary) at certain times. How can I can optimize my filter/ or smooth function to only 9 minima points, as there should be only 9 stationary points in original data. Thanks

1 个评论

Do you mean that if your original list (vector) of speeds has 10 or more zeros in it, you want to remove those elements from the vector so that only the first 9 zeros (plus non-zero data of course) remain?

请先登录,再进行评论。

回答(0 个)

提问:

2012-4-25

Community Treasure Hunt

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

Start Hunting!

Translated by