four sub-spaces of a matrix A

Hi,
I am in a class to learn some matlab and am struggling with a homework assignment. The question is as follows:
The questions examines the four sub-spaces of a matrix A,
A =
2 3 4
4 3 8
1 3 2
a) Describe the four sub-spaces and what they indicate about the solution space for A.
b) Draw a graph showing all four sub-spaces with the vectors from A.
c) What is the rank of the column space?
d) What is the rank of the null space?
e) What vectors map into the null space.

3 Comments

Do you have any specific questions and what have you've tried so far? Otherwise i'll leave this here http://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers
It looks like you are struggling with the math here, not the MATLAB anyway.
Nicole
Nicole on 12 Sep 2014
Edited: Matt J on 13 Sep 2014
this is my code. it is true i don't fully understand the question the professor is asking so I don't know if my solution makes sense
clc;
clear all;
close all;
A=[2,3,4;4,3,8;1,3,2];
% Bases of four fundamental vector spaces associated
% with the matrix A.
% cs- basis of the column space of A
% ns- basis of the nullspace of A
% rs- basis of the row space of A
% lns- basis of the left nullspace of A
[V, pivot] = rref(A)
r = length(pivot)
cs = A(:,pivot)
ns = null(A,'r')
rs = V(1:r,:)'
lns = null(A','r')

Sign in to comment.

Answers (0)

Categories

Find more on Linear Algebra in Help Center and File Exchange

Products

Tags

Asked:

on 10 Sep 2014

Edited:

on 13 Sep 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!