adjmat unrecognized function in Matlab
7 次查看(过去 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?
回答(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 个评论
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!