diff of order n around a point x0
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Wayne King
am 3 Aug. 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
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Assumptions finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!