Help regarding below question.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
How to find the slope of a plotted curve in matlab?
2 comentarios
Torsten
el 3 de Abr. de 2022
How did you get the curve ? By a functional equation ? Only by data points ?
Respuestas (1)
Torsten
el 3 de Abr. de 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 comentarios
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!