How to calculate the derivative of any function f(x) at x=0 using finite difference method?
2 次查看(过去 30 天)
显示 更早的评论
Let's say I have any unknown function
and I know its value for some x i.e.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194889/image.png)
for
x=1:10
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194891/image.png)
f(x)=[a b c d e f g h i j k l m]
where
are some numerical values.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194892/image.png)
Can I calculate derivative of
at
with this given data?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194893/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/194894/image.png)
0 个评论
采纳的回答
Star Strider
2018-11-13
if ‘a,b,c’ are numerical values and not functrions of ‘x’, the derivative would be uniformly 0.
4 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Ordinary Differential Equations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!