I am trying to find the column space of a matrix
123 次查看(过去 30 天)
显示 更早的评论
I am working on a lab for my class and am having issues finding the column soace for the matrix.
A = [1,1,0,2,0;0,1,1,3,0;2,0,0,0,1;3,1,0,2,1;2,1,1,3,0;1,0,0,2,1]
This is the matrix that I am using. Tried the code
rrefA = rref(A)
pivotColumns = rrefA(:,1:end-1)
basisColumnSpace = A(:,pivotColumns)
but i cant get it to work I keep getting a error that i cant clear. I am wondering if there is another way to find the column space with the basic MatLab package. I would apperciate any help.
Thank You
0 个评论
回答(1 个)
ProblemSolver
2023-7-13
4 个评论
Walter Roberson
2024-11-7,18:52
I believe that @Torsten is providing a counter-example to illustrate the failure of @ProblemSolver approach. I do not believe that Torsten is attempting to illustrate a correct general method.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Encryption / Cryptography 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!