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 commentaire

Walter Roberson
Walter Roberson le 14 Juin 2012
Only for the first 30, do you need a "rolling minimum" of each window of 30?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by