Calculate the derivative of a function using forward, backward, and central difference.
Show older comments
I need to calculate the derivative of f(x)= e^(-x) from x=0 to x=1 with an increment size of 0.1 using forward, backward, and central difference. I have never used matlab before and am struggling to figure it out.
1 Comment
James Tursa
on 2 Apr 2024
What have you done so far?
Answers (1)
DGM
on 2 Apr 2024
0 votes
Here are two similar questions, both with good answers.
Categories
Find more on Mathematics 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!