I have Matlab 2014 and the function det doesn't work
Afficher commentaires plus anciens
I tried this:
>>D=[4 5;2 3]
D =
4 5
2 3
>>det(D)
Index exceeds matrix dimensions.
Why doesn't this work?
Réponses (2)
Andreas Goser
le 13 Mai 2014
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
le 13 Mai 2014
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 ?
Catégories
En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!