how do i find a maximum point (y axis)on a graph and the corresponding point on the x axis using loops?
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
plot(omega,(F./G))
0 commentaires
Réponses (1)
KALYAN ACHARJYA
le 9 Jan 2020
Modifié(e) : KALYAN ACHARJYA
le 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 commentaires
KALYAN ACHARJYA
le 9 Jan 2020
Modifié(e) : KALYAN ACHARJYA
le 9 Jan 2020
Ohh, then ..Please try and show us some effort, we are here to help!
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!