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

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 12월 24일
편집: Azzi Abdelmalek 2014년 12월 24일

1 개 추천

Example
t=0:0.1:10
y=t.^2
dy=gradient(y,t)
subplot(211);
plot(t,y)
subplot(212)
plot(t,dy)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

AA
2014년 12월 24일

편집:

2014년 12월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by