function []=displaySVD2(A);

k=rank(A);


for i=1:k
    [U,S,V]=svds(A,i);
    Ai=U*S*V';
    figure(1)
    subplot(1,2,1), cityplot(Ai), 
    set(gca,'Title',text('String',['A_{',int2str(i),'}']))
    subplot(1,2,2), cityplot(A)
    set(gca,'Title',text('String',['A']))
    pause
end


    

