Help regarding below question.
    3 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
How to find the slope of a plotted curve in matlab?
2 commentaires
Réponses (1)
  Torsten
      
      
 le 3 Avr 2022
        f = @(x) [functional equation]
syms x
df = diff(f,x);
df_fun = matlabFunction(df);
x = xstart:0.01:xend;  % define interval for which you want to get the slope
slope = df_fun(x);
plot(x,slope)
0 commentaires
Voir également
Catégories
				En savoir plus sur Calculus 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!

