finding the derivative of a graph

I have a 60x1 vector which i plotted against time (60 units). I want to determine the derivative of that graph. How do i do that

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 24 de Dic. de 2014
Editada: Azzi Abdelmalek el 24 de Dic. de 2014
Example
t=0:0.1:10
y=t.^2
dy=gradient(y,t)
subplot(211);
plot(t,y)
subplot(212)
plot(t,dy)

Más respuestas (0)

Etiquetas

Preguntada:

AA
el 24 de Dic. de 2014

Editada:

el 24 de Dic. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by