Borrar filtros
Borrar filtros

Find minimum value after first maximum value

2 visualizaciones (últimos 30 días)
MrX
MrX el 13 de Abr. de 2012
Hello,
I got a simulink modell which outputs a curve like the red curve in the following picture.
Now I'm trying to measure the amplitude of this oscillation.
So I'll need to get the minimum after maximum value and subtract them.
How can I realise that the min aquisition starts right after the maximum found. In my case, the max finder always finds the right value and the min value is always around 0.
Can someone show me an algorithm which finds min after max.
An S-Function in C/C++ would be nice too. Thanks in advance.

Respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by