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