% demonstration of range space of a matrix and kern(A')
a = [1 2 2.3;2 2.3 2.025;2.3 2.025 1.465];
close all
[u,s,v]=svd(a);
plot3([0;a(1,1)],[0;a(2,1)],[0;a(3,1)]),hold
grid,
plot3([0;u(1,1)],[0;u(2,1)],[0;u(3,1)],'r')
plot3([0;u(1,2)],[0;u(2,2)],[0;u(3,2)],'r')
pause,
plot3([0;a(1,2)],[0;a(2,2)],[0;a(3,2)]), pause
plot3([0;a(1,3)],[0;a(2,3)],[0;a(3,3)])
%grid

     
