Mtalb is evaluating the determinate of the matrix with the wring sign

1 visualizzazione (ultimi 30 giorni)
C=[3,1,-3;1,4,2;-3,2,5]
det(C)
ans =5,
while the correct one is -5
  3 Commenti
Walter Roberson
Walter Roberson il 25 Ott 2020
which MATLAB version are you using? What shows up for
which -all det
Walter Roberson
Walter Roberson il 25 Ott 2020
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 ?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by