Differentiate 1*300 vector array

7 次查看(过去 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 CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by