summaryrefslogtreecommitdiff
path: root/26/CH4/EX4.3.13/4_3_13.sce
blob: b9838195d0dab935f343fe2ed7ebde243e02bd6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
disp('the given matrix is:')
a=[1 0 6 5;0 2 5 3;0 0 0 0]
p=a
disp(a,'A=')
disp('Reducing A to echelon form')
disp('R2=R2/2')
a(2,:)=a(2,:)/2
disp(a)
disp('the pivot columns are column 1 and 2 of A')
disp('hence column space of A is:')
disp('span')
disp(a(:,1),'and',a(:,2))