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

1 view (last 30 days)
C=[3,1,-3;1,4,2;-3,2,5]
det(C)
ans =5,
while the correct one is -5
  3 Comments
Walter Roberson
Walter Roberson on 25 Oct 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 ?

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!