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

42 vues (au cours des 30 derniers jours)
Kaitlyn
Kaitlyn le 1 Avr 2024 à 20:18
Commenté : James Tursa le 2 Avr 2024 à 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.

Réponses (1)

DGM
DGM le 2 Avr 2024 à 0:03

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by