Help regarding below question.
Show older comments
Answers (1)
Torsten
on 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)
Categories
Find more on Calculus in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!