Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How can I get the maximum point coordinate of 5 curves?

1 Ansicht (letzte 30 Tage)
Max-Henri Froger
Max-Henri Froger am 24 Jun. 2020
Geschlossen: KSSV am 24 Jun. 2020
Hi everyone,
I am on app designer and matlab 2016b. I am ploting 5 curves on UIAxes and I try to plot a 'o' on the maximum point of the 5 curves. The problem is that I can't find the abscissa x1 of the Ymax(y1). I tried to use the fonction max() as shown below but it just say me that the maximum is in the matrix WheelTorque_4.
[y1,x1] = max([max(WheelTorque_1) max(WheelTorque_2) max(WheelTorque_3) max(WheelTorque_4) max(WheelTorque_5)])
y1 =
2.5798e+03
x1 =
4
I don't know how to get the x1.
Does someone got a solution? thanks in advance

Antworten (0)

Diese Frage ist geschlossen.

Tags

Produkte


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by