Symbolic Math Toolbox | ![]() ![]() |
Syntax
B = colspace(A)
Description
colspace(A)
returns a matrix whose columns form a basis for the column space of A
. A
is a symbolic or numeric matrix. Note that size(colspace(A),2)
returns the rank of A
.
A = sym([2,0;3,4;0,5]) B = colspace(A)return
A = [2,0] [3,4] [0,5] B = [ 1, 0] [ 0, 1] [-15/8, 5/4]
See Also
null
orth
in the online MATLAB Function Reference
![]() | collect | compose | ![]() |