Finding Determinant of Matrix in MATLAB using Laplace Expansion

  • Context: MATLAB 
  • Thread starter Thread starter sara_87
  • Start date Start date
  • Tags Tags
    Matlab Matrices
Click For Summary
SUMMARY

The discussion focuses on calculating the determinant of a matrix using Laplace expansion in MATLAB. The matrix in question is A = [2 1 1 1; 6 2 4 3; 8 -1 -3 4; 10 0 2 5]. While the straightforward method to find the determinant is using the built-in function det(A), the user specifically seeks guidance on implementing the Laplace expansion with respect to the last row. The conversation highlights the need for a custom MATLAB script to achieve this calculation.

PREREQUISITES
  • Understanding of matrix operations in MATLAB
  • Familiarity with Laplace expansion for determinants
  • Basic knowledge of MATLAB scripting and m-files
  • Concept of row and column expansion in determinants
NEXT STEPS
  • Research how to implement Laplace expansion in MATLAB
  • Learn about recursive functions in MATLAB for determinant calculation
  • Explore MATLAB's matrix manipulation functions
  • Study examples of determinant calculations using different expansion methods
USEFUL FOR

Students, educators, and professionals in mathematics or engineering fields who require a deeper understanding of matrix determinants and MATLAB programming techniques.

sara_87
Messages
748
Reaction score
0
i have a matrix:
A=[2 1 1 1; 6 2 4 3; 8 -1 -3 4; 10 0 2 5]
i have to find the determinant by doing a laplace expansion with respect to the last row.
how do i do this on matlab.
can someone please tell me what to write on the mfile.
thank you
 
Physics news on Phys.org
To find the determinant, just use det(A)

- Warren
 
yeah i know and i found the answer but i have to check my answer by doing a laplace expansion with respect to the last row.
how do i do that?
;)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
9K
Replies
7
Views
2K