finding minimum.

Hi,
I know finding minimum in a normal way is easy. But i have a situation, If there is a input that gives out a sample every 1 second, and i need to find minimum for the first 30 samples. Is there a way to do it? I have used a buffer followed by a min block but this is delaying my whole model for some reason. I need a better way to do it. Could you please help me. Thank you so much,

댓글 수: 1

Walter Roberson
Walter Roberson 2012년 6월 14일
Only for the first 30, do you need a "rolling minimum" of each window of 30?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2012년 6월 14일

Community Treasure Hunt

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

Start Hunting!

Translated by