Calculating the Span of a Matrix in MATLAB

21.4k Views Asked by At

If I have a matrix (or a set of vectors) say A=[1 2 4] [2 9 8] [7 9 3] how can I calculate its span in MATLAB? There is no direct command for it? Do I have to form a set of linear equations, but I am confused;how will I be able to find all the possible linear combinations from it? Any help is appreciated.