Finding maximum and minimum positions by Extrema

Hi,
I have to detect the maximum and minimum positions of a structure over time. I have tried this with Extrema.
The result I got giving me the minimum as maximum and vice versa. I am attaching the results.
I just want the way opposite attached as X1.
I think there is a problem in the direction, I tried to changed that but its giving me some error.
How can I fix it?
Waiting for any kind reply.
Regards
Tayyaba

Réponses (0)

Catégories

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

Commenté :

le 15 Juin 2023

Community Treasure Hunt

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

Start Hunting!

Translated by