Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

Differentiation

5 views (last 30 days)
J
J on 28 Feb 2012
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi.
I have an equation that I'd like to differentiate without using the command diff(equation). I've been told that finite-differencing should be used to get the function derivative.
Can someone demonstrate how a simple example would work using matlab? That way I can try to build on it. My code currently uses the command diff but I've been told I can't use it.
  3 Comments
J
J on 28 Feb 2012
Its to do with the newton raphson method and my teacher said that it wouldn't work unless finite differencing was used.
Jan
Jan on 28 Feb 2012
But DIFF uses a finite difference.
I assume a meaningful answer is more likely, if you post the actual problem. What kind of equation do you have and which result do you want to get?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!