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)
plot(omega,(F./G))

Réponses (1)

KALYAN ACHARJYA
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
theophilos theophilou
theophilos theophilou le 9 Jan 2020
This is part of the question
'Do not use any built in functions to achieve this – use loops'
KALYAN ACHARJYA
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!

Connectez-vous pour commenter.

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!

Translated by