Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

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

1 vue (au cours des 30 derniers jours)
Max-Henri Froger
Max-Henri Froger le 24 Juin 2020
Clôturé : KSSV le 24 Juin 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

Réponses (0)

Cette question est clôturée.

Tags

Produits


Version

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by