Help with Numerical Differentiation

3 ビュー (過去 30 日間)
Deepa
Deepa 2021 年 3 月 12 日
回答済み: Uday Pradhan 2021 年 3 月 15 日
Hi there,
Nothing I try seems to work.
I am given data Time, ti (s): [0.05 0.10 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50] and Displacement, yi (mm): [0.144 0.172 0.213 0.296 0.070 0.085 0.525 0.110 0.062 0.055].
Find dy/dt , d^2y/dt^2 and d^3y/dt^3 using finite difference formulae with a step size of Δt =0.05.
I dont know what function to use and how to solve this problem when given step size. Appreciate the help

回答 (1 件)

Uday Pradhan
Uday Pradhan 2021 年 3 月 15 日
Hello Deepa,
Please check this example : Approximate derivates with diff function.
You can easily calculate the forward finite difference approximations of the derivatives by following this example. Hope this helps!

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by