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 ExchangeSimulink についてさらに検索

質問済み:

2012 年 6 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by