adjmat unrecognized function in Matlab
조회 수: 3 (최근 30일)
이전 댓글 표시
I'm trying to run a code and it has the function
t5 = diff(lambda);
t5 = adjmat(t5);
but I got the error that adjmat unrecognized function , so what is the problem?
댓글 수: 6
답변 (2개)
Matt J
2021년 2월 15일
Is adjmat supposed to be computing the adjugate of the matrix t5. If so, you might be able to use this instead,
댓글 수: 0
Jian Yuan
2021년 3월 19일
After diff function, the dimention of an array decreased by 1. I checked here Adjmat(t5) seems to align that. So you may try t5(:,1) = [] to replace t5 = adjmat(t5).
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!