How to find the span of a matrix in matlab?
조회 수: 290 (최근 30일)
이전 댓글 표시
I am trying to find the span of a matrix but im not sure how to ask matlab to find it for me.
Let A = [−1 −5 −1 10 0 5; 1 5 0 −4 0 −5;2 10 −1 −2 −1 −7;−1 −5 2 −8 2 −1] . Find spanning sets for N (A) and col(A)
this is the question but im not sure how to ask it on matlab.
댓글 수: 0
답변 (2개)
Matt J
2024년 3월 1일
편집: Matt J
2024년 3월 1일
You can use this,
A = [-1 -5 -1 10 0 5; 1 5 0 -4 0 -5;2 10 -1 -2 -1 -7;-1 -5 2 -8 2 -1]
Asub=licols(A)
댓글 수: 1
Torsten
2024년 3월 1일
And if by N(A) you mean the kernel of A, you can use:
A = [-1 -5 -1 10 0 5; 1 5 0 -4 0 -5;2 10 -1 -2 -1 -7;-1 -5 2 -8 2 -1]
null(A)
is true.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!