How to do numerical differentiation using Matlab?

조회 수: 2 (최근 30일)
Deema42
Deema42 2017년 3월 4일
댓글: Deema42 2017년 3월 7일
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.
Deema42
Deema42 2017년 3월 7일
okay i will try it and let you know, Thank you.

댓글을 달려면 로그인하십시오.

카테고리

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