why is the determinant of the covariance of the matrix "error" negative?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
load(Error); det(cov(Error));
0 Kommentare
Antworten (1)
Sivsankar
am 7 Nov. 2024
The code you've provided would throw an error. It cannot read the mat file. So, I've modified your code as follows to make it work:
C = load("Error.mat");
det(cov(C.C))
Kindly try this code out.
However, when I'm trying to computing the covariance of the matrix in ‘Error.mat’ file, I'm getting '2.9297e+05' as the answer (which is 292970). I'm not getting a negative value.
Hope this helps.
Thanks!
0 Kommentare
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!