Differentiate 1*300 vector array

7 Ansichten (letzte 30 Tage)
OYH
OYH am 21 Nov. 2019
Kommentiert: OYH am 22 Nov. 2019
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.

Antworten (1)

KALYAN ACHARJYA
KALYAN ACHARJYA am 21 Nov. 2019
Bearbeitet: KALYAN ACHARJYA am 21 Nov. 2019
diff
data=rand(300,1);
result=diff(data)
  6 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 21 Nov. 2019
please share the following from command window
>>whos column_vector_name
OYH
OYH am 22 Nov. 2019
I finally solved problem, thanks for help

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by