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

4 Ansichten (letzte 30 Tage)
plot(omega,(F./G))

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 9 Jan. 2020
Bearbeitet: KALYAN ACHARJYA am 9 Jan. 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

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by