four sub-spaces of a matrix A

조회 수: 1 (최근 30일)
Nicole
Nicole 2014년 9월 10일
편집: Matt J 2014년 9월 13일
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
John D'Errico
John D'Errico 2014년 9월 10일
It looks like you are struggling with the math here, not the MATLAB anyway.
Nicole
Nicole 2014년 9월 12일
편집: Matt J 2014년 9월 13일
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')

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by