필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How does one differentiate in matlab

조회 수: 1 (최근 30일)
Abhey Pal Singh Kumar
Abhey Pal Singh Kumar 2018년 5월 14일
마감: Abhey Pal Singh Kumar 2018년 5월 14일
How does one differentiate and plot in matlab

채택된 답변

Ameer Hamza
Ameer Hamza 2018년 5월 14일
편집: Ameer Hamza 2018년 5월 14일
diff() decrease the number of elements in a vector by one. You also need to exclude one element of vector x to make them of equal length.
plot(x(2:end), v) % or
plot(x(1:end-1), v)

추가 답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by