Mtalb is evaluating the determinate of the matrix with the wring sign
1 次查看(过去 30 天)
显示 更早的评论
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/391498/image.png)
C=[3,1,-3;1,4,2;-3,2,5]
det(C)
ans =5,
while the correct one is -5
3 个评论
Walter Roberson
2020-10-25
which MATLAB version are you using? What shows up for
which -all det
Walter Roberson
2020-10-25
We can tell by your output that you are not using one of the releases from the last few years, but we cannot tell which release you are running.
Looking at that output, I think you might be running a version earlier than R2012a ?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Algebra 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!