answersLogoWhite

0


Best Answer

d = det(X) returns the determinant of the square matrix X. If X contains only integer entries, the result d is also an integer.

The determinant is computed from the triangular factors obtained by Gaussian elimination [L,U] = lu(A)

s = det(L) % This is always +1 or -1

det(A) = s*prod(diag(U))

The statement A = [1 2 3; 4 5 6; 7 8 9]

produces A =

1 2 3

4 5 6

7 8 9

This happens to be a singular matrix, so d = det(A) produces d = 0. Changing A(3,3) with A(3,3) = 0 turns A into a nonsingular matrix. Now d = det(A) produces d = 27.

For more info visit

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/det.html

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Program calculate determinant of matrices in matlab?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you determine determinant of matrix using matlab?

d = det(x);


Why matlab is so called matlab?

MatLab means MATrix LABoratory. It converts the signals into matrices and performs various operations on them. Hence, it is used mainly in applications where there is a need to convert data from one form to the other.


How do you solve central difference in Matlab?

Possibly the Program Stepping Operator by Matlab.


What are the disadvantages of matrices?

Matrices are very difficult to use, especially with Matlab. This stress and trauma dramatically reduce your life expectancy by up to 3% in most cases, 5% if your last name is Eigen.


What is the difference between xilinx and matlab software?

Xilinx is a package. Matlab is a package and language. Xilinx requires a HDL program to execute the required logic. Matlab requires the Matlab program for that purpose. Xilinx is used for digital electronics. Matlab is used for signal processing.


How do you calculate the generalized hurst exponent?

by matlab


Who is the founder of MATLAB program?

Cleve moler


Where can i find Matlab programming for RF-ID reader?

Matlab is a package that is available for licensed users. The program required for it is available at the official site of Matlab


How is a pso program in matlab..how is it created from algorithm..please help?

The PSO or Particle Swarm Optimization Program algorithm in MatLab is created by first creating a binary genetic algorithm.


What is the shortcut to run a file in Matlab?

Press F5 after typing the program. It runs the program.


How do you program microcontroller in Matlab?

please any one tell me how


Is there an easy way by which I mean a way that requires less than half an hour and no higher math than Algebra 2 to find the determinant of a 5 by 5 matrix?

There is no easy way to find the determinant; it's long and tedious. There are computer programs available (like MATLAB) that will find the determinant. You'll find there probably won't be a large matrix in an exam if you're required to find the determinant.