Effacer les filtres
Effacer les filtres

How to do numerical differentiation using Matlab?

2 vues (au cours des 30 derniers jours)
Deema42
Deema42 le 4 Mar 2017
Commenté : Deema42 le 7 Mar 2017
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

Réponses (1)

Torsten
Torsten le 6 Mar 2017
Use symbolic differentiation:
https://de.mathworks.com/help/symbolic/diff.html
Best wishes
Torsten.
  5 commentaires
Torsten
Torsten le 7 Mar 2017
syms x
f = x^2;
df = diff(f,x);
hf = matlabFunction(df);
hf(2)
Best wishes
Torsten.
Deema42
Deema42 le 7 Mar 2017
okay i will try it and let you know, Thank you.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by