I have Matlab 2014 and the function det doesn't work
显示 更早的评论
I tried this:
>>D=[4 5;2 3]
D =
4 5
2 3
>>det(D)
Index exceeds matrix dimensions.
Why doesn't this work?
回答(2 个)
Andreas Goser
2014-5-13
My guess is there is an issue with multiple dets on your path. Try
which det -all
Is the first hit what you expect?
Image Analyst
2014-5-13
Try this:
>> which -all det
built-in (C:\Program Files\MATLAB\R2014a\toolbox\matlab\matfun\@single\det) % single method
built-in (C:\Program Files\MATLAB\R2014a\toolbox\matlab\matfun\@double\det) % double method
Do you see exactly the same as I see? Or do you see the name of an m-file that you wrote ?
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!