how do i find a maximum point (y axis)on a graph and the corresponding point on the x axis using loops?

3 visualizzazioni (ultimi 30 giorni)
plot(omega,(F./G))

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 9 Gen 2020
Modificato: KALYAN ACHARJYA il 9 Gen 2020
index_point=find(max(F./G)==(F./G)); % Geting the index of max y
x_data=x(index_point); % Getting the corresponding x data

Categorie

Scopri di più su Loops and Conditional Statements in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by