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

42 visualizaciones (últimos 30 días)
Kaitlyn
Kaitlyn el 1 de Abr. de 2024 a las 20:18
Comentada: James Tursa el 2 de Abr. de 2024 a las 0:11
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.

Respuestas (1)

DGM
DGM el 2 de Abr. de 2024 a las 0:03

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by