Calculate the derivative of a function using forward, backward, and central difference.

4 Ansichten (letzte 30 Tage)
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.

Antworten (1)

DGM
DGM am 2 Apr. 2024

Kategorien

Mehr zu Get Started with MATLAB 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!

Translated by