How do I do part 2 and 3 here?

回答 (2 件)

KSSV
KSSV 2022 年 3 月 4 日

1 投票

Velocity is nothing but dr/dt i.e. slope. So you have used polyfit and you got the slope already.
Sam Chak
Sam Chak 2022 年 3 月 4 日

1 投票

You have done with 2a and 2c.
2b. Since you have computed the polynomial coefficients in the p vector, then p(1) tells you the velocity (slope), and p(2) gives the initial range (intercept). Natural, this means and in the slope-intercept form, .
3. This part requires you to solve for time t when . I believe that you can solve this algebraic equation easily.

カテゴリ

ヘルプ センター および File ExchangeMathematics についてさらに検索

タグ

質問済み:

2022 年 3 月 4 日

回答済み:

2022 年 3 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by