| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Symbolic Math Toolbox |
| Contents | Index |
| Learn more about Symbolic Math Toolbox |
r = det(A)
r = det(A) computes the determinant of A, where A is a symbolic or numeric matrix. det(A) returns a symbolic expression for a symbolic A and a numeric value for a numeric A.
Compute the determinant of the following symbolic matrix:
syms a b c d; det([a, b; c, d])
The result is:
ans = a*d - b*c
Compute the determinant of the following matrix containing the symbolic numbers:
A = sym([2/3 1/3; 1 1]) r = det(A)
The result is:
A = [ 2/3, 1/3] [ 1, 1] r = 1/3
![]() | cosint (sym) | diag | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |