Differentiate 1*300 vector array

1 回表示 (過去 30 日間)
OYH
OYH 2019 年 11 月 21 日
コメント済み: OYH 2019 年 11 月 22 日
Hello,
I have an column vector array where the structure is 1,300.
This vector array creates X coordinates, which draws curves if I plot it which is differentiable.
I want to differentiate this, but don't know how to do it.
Really appreciate if someone lets me know.

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 11 月 21 日
編集済み: KALYAN ACHARJYA 2019 年 11 月 21 日
diff
data=rand(300,1);
result=diff(data)
  6 件のコメント
KALYAN ACHARJYA
KALYAN ACHARJYA 2019 年 11 月 21 日
please share the following from command window
>>whos column_vector_name
OYH
OYH 2019 年 11 月 22 日
I finally solved problem, thanks for help

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by