Вы находитесь на странице: 1из 3

ASSIGNMENT MATLAB

Group 1:

1. Generate a 3x3 matrix of random phases using MATLAB and get reduces echelon form using the command of rref. Repeat this process several times using different random matrix. What most of these random matrix for reduces echelon form? Explain your answer.

2. Generate a random 4x6 matrix A with entry integers between -5 and 5. Put in in reduced echelon form using the command rref. Are the columns of A linearly independent? What is the span of the columns of A?

Group 2:

1. Generate random 4 × 4 matrices A and B and test whether AB = BA (the best way to do this is to compute AB BA and see if you get the zero matrix).

2. Determine if the columns of the following matrix span .

[

]

Find a column of the matrix that can be deleted and yet have the remaining matrix columns still span

Group 3:

1.

The matrix

[

Determines a linear transformation

Is

]

one-to-one mapping? If not, find all

such

that

(

)

2.

Generate two 10 × 10 matrices A and B with random entries (use the semi- colon to

suppress the output). Compute semicolon to suppress the output). Check that command).

and

and

(again, use the (using the max

Group 4:

1. Generate two random 7x7 matrices identities holds:

 

and

and check whether or not each of the following

i)

(

)

(

)

(

)

ii) (

 

)

(

)

(

)

iii) (

 

)

(

)

iv) ([

 

])

(

)

(

) (where the 0 denotes the 7x7 zero matrices) .

2. Generate a random

matrix

. Compute

(

) and

(

) Repeat for several

random matrices. What can you say about rows?

and

when

has more columns than

Group 5:

1. Compute the determinant of the following matrices

[

]

[

]

Use the results to guess the determinant of the

[

[

]

matrix below:

]

Confirm your guess by using row operations to evaluate that determinant.

2. Determine whether

Group 6:

is in the column space of

[

]

[

, the null space of

]

, or both, where

1. Find a basis for the space spanned by the given vectors:

[

]

[

]

[

]

[

]

[

]

2.

Show that{

Start by assuming that

values of

determine that all the

(for instance

} is linearly independent set of functions defined on

for all

Choose specific

) until you get a system with enough equations to

must be 0.

Group 7:

1. Determine whether the following set of polynomials form a basis of

(

).

2. Consider the matrix

a. Compute for

b.

Find a vector

such that

[

]

What do you observe?

.

(such that a vector is called a steady-state vector).

Group 8:

1. Diagonalize the following matrix:

[

]

Give an invertible matrix

answer by computing max(max(abs(P*D*inv(P)-A)))).

and a diagonal matrix

such that

2. This problem should be solved symbolically using MATLAB. Specify the following system of linear equations

a. no solution

b. has a unique solution

c. have an infinite number of solutions

( check your

value that ensures that

(

)