answersLogoWhite

0

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

15y ago

What else can I help you with?

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 can you calculate state space for all circuits by matlab?

To calculate the state space for all circuits in MATLAB, you can utilize the Control System Toolbox. Start by defining the circuit components and their interconnections using matrices that represent the system's state variables, inputs, and outputs. You can then use the ss function to create a state-space model from the defined matrices. Finally, you can simulate the circuit behavior using functions like lsim or analyze the system's stability and response with additional functions provided in the toolbox.


How do you solve central difference in Matlab?

Possibly the Program Stepping Operator by Matlab.


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.


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.


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 can I multiply functions in MATLAB?

To multiply functions in MATLAB, you can use the element-wise multiplication operator, which is represented by the symbol ".". This operator allows you to multiply corresponding elements of two arrays or matrices. Simply use the operator between the two functions you want to multiply, and MATLAB will perform the element-wise multiplication for you.


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.