MATLAB: Determinants %In this activity you will use the det() command to find the determinant of a matrix. %Consider the 4x4 matrix. C= [2 1 -3 0; 1 -1 0 7; 5 2 4 -2; 3 0 1 1] %Use the det() command to find the determinant of the square matrix C. detC = det(C) Utilize the following matrix for this activity. \begin{bmatrix} 4 & 1/2 & 0 & -1 & 3\\ -1 & 0 & 1 & -2 & 1/2\\ 3 & -1 & -1 & 0 & 1\\ 0 & -1/2 & 1 & 1 & 0\\ 1 & 0 & 3 & 0 & 3 \end{bmatrix} Script 1 %Consider using the command \"format rat\" to view the matrix and determinant using rational numbers. 2 %Create the matrix A. 4 %Use the det() command to find the determinant of A. Store this value in detA. 5
Added by Noelia P.
Close
Step 1
Step 1: Open MATLAB and create a new script file. Show more…
Show all steps
Your feedback will help us improve your experience
Taru H and 89 other Calculus 3 educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Finding a Determinant Find the determinant of the matrix. $$\left[\begin{array}{rrr} -1 & 0 & 4 \\ -4 & 3 & 5 \\ 0 & 2 & -3 \end{array}\right]$$
Sequences, Series, and Probability
Geometric Sequences and Series
Use a software program or a graphing utility with matrix capabilities to find the determinant of the matrix.
Madhur L.
Consider the matrix Calculate the determinant of A using (a) Using the co-factor formula (b) the product of the pivots (c) Find the LU decomposition of A using MATLAB's lu command: >> [L, U] = lu(A) Calculate the determinants of L and U (by hand). Then use these values to calculate the determinant of A.
Adi S.
Recommended Textbooks
Calculus: Early Transcendentals
Thomas Calculus
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD