problem in calculating a determinant for a matrix
Afficher commentaires plus anciens
Hello, I am a doctoral student in automatic control and I use matlab for matrix calculations. I gave matlab the following matrix 16 * 16 and I know that its determinant is zero, and that is not reversible but matlab not given the same expected results.
Example below:
A=[100,200,300,400,500,600,700,800,900,100,200,300,400,500,600,-6600; 100,100,300,400,500,600,700,800,900,100,200,300,400,500,600,-6500; 100,200,100,600,500,600,700,800,900,100,200,300,400,500,600,-6600; 100,100,300,100,500,600,700,800,900,100,200,300,400,500,600,-6200; 100,200,300,400,200,600,900,800,900,100,200,300,400,500,600,-6500; 100,200,300,400,500,100,700,800,900,100,200,300,500,600,700,-6400; 100,300,300,400,500,600,100,800,900,100,200,300,400,500,600,-6100; 100,200,300,400,500,600,700,100,900,100,300,400,400,500,600,-6100; 100,200,300,400,600,600,700,800,200,100,200,300,400,500,600,-6000; 100,200,300,400,500,600,700,800,900,100,200,300,400,600,600,-6700; 100,200,300,400,500,700,700,800,900,200,200,300,400,500,600,-6800; 100,200,300,400,500,600,700,800,900,100,200,100,500,600,600,-6600; 100,200,300,400,500,600,700,800,900,100,200,300,100,700,600,-6500; 100,200,300,400,500,600,700,800,900,100,300,300,400,300,600,-6500; 100,200,300,400,500,600,800,800,900,100,200,400,400,500,200,-6400; 100,200,300,400,500,600,700,800,900,100,200,300,500,500,600,-6700]
Normally for this matrix, the determinant is zero. But Matlab gaves me the determinant equal to -9.024461178341880e+21 What is the problem ? Thank you in advance for your reply.
Réponse acceptée
Plus de réponses (0)
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!