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