This preview shows page 1. Sign up to view the full content.
Additional Problems
1.(Matlab) Create a random matrix
A
using the command
A
= ﬂoor(10
*
rand(4
,
4))
.
(a) Swap the ﬁrst and second row of
A
to get the matrix
B
using the commands:
B
=
A
;
B
([1
,
2]
,
:) =
B
([2
,
1]
,
:)
What relation between det(
A
) and det(
B
) from the properties of the determi
nant in Section 2.2. Check your answer by calculating det(
A
) and det(
B
) using
Matlab.
(b) Let
C
be the matrix obtained from
A
by multiplying the ﬁrst row of
A
by
10 and adding to the second row of
A
using the commands:
C
=
A
;
C
(2
,
:) =
A
(2
,
:) + 10
*
A
(1
,
:)
What relation between det(
A
) and det(
C
) from the properties of the determi
nant in Section 2.2. Check your answer by calculating det(
A
) and det(
C
) using
Matlab.
(c) Let D be the matrix obtained from
A
by multiplying the ﬁrst and the second
row of
A
by 2 and 3, respectively, using the commands:
D
=
A
;
D
(1
,
:) = 2
*
A
(1
,
:);
D
(2
,
:) = 3
*
A
(2
,
:)
What relation between det(
A
) and det(
D
This is the end of the preview. Sign up
to
access the rest of the document.
This note was uploaded on 07/17/2008 for the course MATH 571 taught by Professor Kim during the Spring '08 term at Ohio State.
 Spring '08
 KIM
 Linear Algebra, Algebra, matlab, Addition

Click to edit the document details