Finding maximum and minimum positions by Extrema

3 views (last 30 days)
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

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!