diff of order n around a point x0
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Wayne King
2012-8-3
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
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Assumptions 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!