if i have a plot, how do i have find the derivative of the plot?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
for example i have plot(x,y) how do i have find the derivative of it and then find the zeros in that derivative plot?
0 commentaires
Réponses (1)
John Petersen
le 10 Juil 2012
Do you have a preferred method of taking the derivative? There are many. A simple one (that does not work well for noisy data) is
dy = diff(y)./diff(x);
To find zeros, you could search for where dy changes sign.
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots 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!