0% found this document useful (0 votes)
720 views6 pages

MATLAB ACTIVITY 4 - Determinant Using MATLAB: NAME: - UMALI, JAY JAY J. - Section: - CE21S2

This document contains a MATLAB activity involving determinants and Cramer's rule. It provides 5 matrices and asks to find their determinants using the det() function. It also provides a system of linear equations and asks to use Cramer's rule to find the solution, showing the MATLAB syntax.

Uploaded by

Jay Umali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
720 views6 pages

MATLAB ACTIVITY 4 - Determinant Using MATLAB: NAME: - UMALI, JAY JAY J. - Section: - CE21S2

This document contains a MATLAB activity involving determinants and Cramer's rule. It provides 5 matrices and asks to find their determinants using the det() function. It also provides a system of linear equations and asks to use Cramer's rule to find the solution, showing the MATLAB syntax.

Uploaded by

Jay Umali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

NAME: ____UMALI, JAY JAY J.

___ Section: ___CE21S2____

MATLAB ACTIVITY 4 – Determinant Using MATLAB

A. Use the det () built-in function to find the determinants of the following matrices. Write the MATLAB SYNTAX
you used and MATLAB out put on the space provided

−1 1 1
A=|−1 −1 1 |
1. 1 1 −1 det A = ____0____

7 6 5 4
A=|6 5 4 3|
5 4 3 2
2. 4 3 2 1 det A =____0____
1 2 0

3.
B=3 (eye (¿( A¿)− A))
, where
[ ]
A= 3 4 0
0 0 5 B= and

det B=

A= 1 2
4.
C=5(eye( ¿(A ¿)− A))2
, where
[ ]
3 4 C= and

det C=

0 1 1

5.
D= A T A
, where
[ ]
A= 0 1 0
1 0 1 D= and det D=__1__
B. By using Cramer’s Rule, determine the solution to the following systems of linear equations. Write the
MATLAB SYNTAX you used and MATLAB out put on the space provided

ìï 2 x1 + 4 x2 + 6 x3 = 2
ïï
ïí x + 2 x = 0
ïï 1 3

ïïî 2 x1 + 3x2 - x3 = 5

You might also like