diff of order n around a point x0
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello,
I would like to calculate the derivative of order n of function f with respect to x aaround a point x0.
diff(f,x,x0,n) but doesn't work
Any help!!
Thank you in advance.
Adam
0 commentaires
Réponse acceptée
Wayne King
le 3 Août 2012
Do you have the Symbolic Toolbox and an expression for your function?
syms t
x = cos(2*t);
y = diff(x,2)
subs(y,0) %evaluate the 2nd derivative at t=0
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Assumptions dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!