Optimizing filter to give certain local minima points

1 view (last 30 days)
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 Comment
Image Analyst
Image Analyst on 26 Apr 2012
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?

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!