Differentiate 1*300 vector array

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일

0 개 추천

diff
data=rand(300,1);
result=diff(data)

댓글 수: 6

OYH
OYH 2019년 11월 21일
I'm afraid it doesn't work that way. I've tried that way, but didn't work.
KALYAN ACHARJYA
KALYAN ACHARJYA 2019년 11월 21일
편집: KALYAN ACHARJYA 2019년 11월 21일
Can you share the column vector or any sample data?
12.png
OYH
OYH 2019년 11월 21일
Screen Shot 2019-11-21 at 10.50.00.pngThis is the column vector
OYH
OYH 2019년 11월 21일
Screen Shot 2019-11-21 at 10.50.20.png
And this is the plot of that
please share the following from command window
>>whos column_vector_name
OYH
OYH 2019년 11월 22일
I finally solved problem, thanks for help

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

질문:

OYH
2019년 11월 21일

댓글:

OYH
2019년 11월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by