Help regarding below question.
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
How to find the slope of a plotted curve in matlab?
2 Kommentare
Antworten (1)
Torsten
am 3 Apr. 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 Kommentare
Siehe auch
Kategorien
Mehr zu Calculus finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!