Matlab 7 for Engineers

1 回表示 (過去 30 日間)
Elizabeth
Elizabeth 2011 年 11 月 20 日
I need help solving this:
Plot the estimate of the derivative dy/dx from the following data. do this by using forward, backward and central differences. compare the results.
x 0 1 2 3 4 5 6 7 8 9 10 y 0 2 5 7 9 12 15 18 22 20 17

回答 (2 件)

Kostas
Kostas 2011 年 11 月 20 日

Jan
Jan 2011 年 11 月 20 日
Look at Matlab's gradient function: It uses forward and backward differences at the edges and the central difference at the interior points.

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by