[SOLVED] MAT350 4.13 MATLAB: Rank and Null Space

$ 180.00

MAT350 4.13 MATLAB: Rank and Null Space

Enter the matrix, storing it in A.

A = [-2 4 2 -8 4; 3 -6 -1 10 -8; 1 -2 -5 8 1]

Use the rank() command to find the rank of the matrix A.

rank(A)

The command null(A,’r’) returns a basis of rational numbers for the null space of A.

The basis for the null space of A can be stored in a matrix.

nullspaceMatrixA = null(A,’r’)

Order Now
Order This Paper

MAT350 4.13 MATLAB: Rank and Null Space

Enter the matrix, storing it in A.

A = [-2 4 2 -8 4; 3 -6 -1 10 -8; 1 -2 -5 8 1]

Use the rank() command to find the rank of the matrix A.

rank(A)

The command null(A,’r’) returns a basis of rational numbers for the null space of A.

The basis for the null space of A can be stored in a matrix.

nullspaceMatrixA = null(A,’r’)

 

For the matrix A, two vectors form the basis of the null space of A. Note, the dimension of the null space of A plus the rank of A will equal the number of columns in A.

 

Consider the matrix C for this activity.

 

-1 2 0 4 5 -3

3

Note: Full answer to this question is available after purchase.
-7 2 0 1 4

C = [ 2 -5 2 4 6 1 ]

4 -9 2 -4 -4 7

 

Enter the matrix, storing it in C.

C = [-1, 2, 0, 4, 5, -3; 3, -7, 2, 0, 1, 4; 2, -5, 2, 4, 6, 1; 4, -9, 2, -4, -4, 7]

Find the rank of the matrix C.  Store this value in rankC.

rankC = rank(C)

disp(rankC)

Find a basis of rational numbers for the null space of C. Store this in the matrix nullbasis C.

nullbasisC = null(C, ‘r’)

disp(nullbasisC)

You should confirm that the dimension of the null space of C plus the rank of C equals the number of columns in C.

Related; MAT350 4.10 MATLAB: Change of Coordinates.

Order This Paper

Reviews

There are no reviews yet.

Be the first to review “[SOLVED] MAT350 4.13 MATLAB: Rank and Null Space”

Your email address will not be published. Required fields are marked *

error: Content is protected !!