How to do numerical differentiation using Matlab?

2 次查看(过去 30 天)
Can anyone help me with doing numerical differentiation using matlab for the function on this image:
Where the function F(gamma) is given by eq (11) in the following image:
I have never done something like this on Matlab, so i appreciate it if you can give me an example or try to give me the initial steps for this equation.
differential-equations

回答(1 个)

Torsten
Torsten 2017-3-6
Use symbolic differentiation:
https://de.mathworks.com/help/symbolic/diff.html
Best wishes
Torsten.
  5 个评论
Torsten
Torsten 2017-3-7
syms x
f = x^2;
df = diff(f,x);
hf = matlabFunction(df);
hf(2)
Best wishes
Torsten.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Live Scripts and Functions 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by