forward, backward, and centered difference method

I am new to MatLab. How can I solve below:
x 1 2 3 4 5 6
f(x) 2 3 1 5 4 1
Estimate f 0 (4) using the forward, backward, and centered difference method with h = 1.

5 件のコメント

James Tursa
James Tursa 2022 年 1 月 14 日
What have you done so far? What specific problems are you having with your code?
BEENA BASHEER
BEENA BASHEER 2022 年 1 月 14 日
I am new to matlab, I am confused if i declare x and f(x) declare as an array. then to find forward diff method the equation also contains x as input.
Torsten
Torsten 2022 年 1 月 14 日
What is f 0 (4) ?
BEENA BASHEER
BEENA BASHEER 2022 年 1 月 14 日
need to find f'(4), x=4, h=1 . I have already done through manually. But how to program it ?
James Tursa
James Tursa 2022 年 1 月 14 日
Please show us what you did manually. Not just the result ... show us the computations you did.

回答 (0 件)

この質問は閉じられています。

質問済み:

2022 年 1 月 14 日

閉鎖済み:

2022 年 1 月 15 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by