Error using plot vectors must be the same length

답변 (1개)

Star Strider
Star Strider 2021년 7월 10일

1 개 추천

It’s not easy to determine what the problem is.
One possibility is to use the gradient function instead of using diff to calculate the approximate derivative.
The outputs of gradient have the same dimensions as the input. The outputs of diff are less than the dimensions of the input.
.

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

태그

질문:

2021년 7월 10일

답변:

2021년 7월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by