Info

此问题已关闭。 请重新打开它进行编辑或回答。

Differentiation

5 次查看(过去 30 天)
J
J 2012-2-28
关闭: MATLAB Answer Bot 2021-8-20
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 个评论
J
J 2012-2-28
Its to do with the newton raphson method and my teacher said that it wouldn't work unless finite differencing was used.
Jan
Jan 2012-2-28
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?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by