How to calculate the derivative of any function f(x) at x=0 using finite difference method?
조회 수: 1 (최근 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!