Differentiate 1*300 vector array
Mostrar comentarios más antiguos
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.
Respuestas (1)
KALYAN ACHARJYA
el 21 de Nov. de 2019
Editada: KALYAN ACHARJYA
el 21 de Nov. de 2019
diff
data=rand(300,1);
result=diff(data)
6 comentarios
OYH
el 21 de Nov. de 2019
KALYAN ACHARJYA
el 21 de Nov. de 2019
Editada: KALYAN ACHARJYA
el 21 de Nov. de 2019
Can you share the column vector or any sample data?

OYH
el 21 de Nov. de 2019
OYH
el 21 de Nov. de 2019
KALYAN ACHARJYA
el 21 de Nov. de 2019
please share the following from command window
>>whos column_vector_name
OYH
el 22 de Nov. de 2019
Categorías
Más información sobre Multidimensional Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

