How to find the span of a matrix in matlab?
263 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Matt J
on 1 Mar 2024
Edited: Matt J
on 1 Mar 2024
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 Comment
Torsten
on 1 Mar 2024
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.
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!