Numerically derive a continous, non-symbolic function
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a function defined via
function y = f(x)
% ...
end
. I now want to numerically calculate the value of it's derivative at a given point. As in, what should be in the following function's body?
function y = derivative_of_f(x)
% Calculate derivative of f at position x here
end
Is there any way to do this, without having to implement numerical differentiation myself?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!