if i have a plot, how do i have find the derivative of the plot?
조회 수: 3 (최근 30일)
이전 댓글 표시
for example i have plot(x,y) how do i have find the derivative of it and then find the zeros in that derivative plot?
댓글 수: 0
답변 (1개)
John Petersen
2012년 7월 10일
Do you have a preferred method of taking the derivative? There are many. A simple one (that does not work well for noisy data) is
dy = diff(y)./diff(x);
To find zeros, you could search for where dy changes sign.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!