How can I find the difference quotient and how to write the code for it?

1 回表示 (過去 30 日間)
ekagra gupta
ekagra gupta 2022 年 6 月 16 日
編集済み: Torsten 2022 年 6 月 16 日
Hello,
Below is one sample vector which I want to represent in matlab, how can I do it?
Also, how to find the difference quotients as well?
everything is given below in the attached image.
  4 件のコメント
ekagra gupta
ekagra gupta 2022 年 6 月 16 日
I apologise for using the wrong word "quotient", I want to code this formula and I am confused how to do it.
Torsten
Torsten 2022 年 6 月 16 日
編集済み: Torsten 2022 年 6 月 16 日
x = [3 5 67 -1];
deltax = diff(x)
deltax = 1×3
2 62 -68
dx = [5-3 67-5 -1-67]
dx = 1×3
2 62 -68
Can you take it from here ?

サインインしてコメントする。

回答 (0 件)

カテゴリ

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