| Symbolic Math Toolbox | Search  Help Desk | |
| colspace | Examples | See Also |
B = colspace(A)
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.
The statements
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]
null
orth in the online MATLAB Function Reference