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)
Ältere Kommentare anzeigen
plot(omega,(F./G))
0 Kommentare
Antworten (1)
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
2 Kommentare
KALYAN ACHARJYA
am 9 Jan. 2020
Bearbeitet: KALYAN ACHARJYA
am 9 Jan. 2020
Ohh, then ..Please try and show us some effort, we are here to help!
Siehe auch
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!