%%%%%%%%%%%%%% L7 pe 17.11.06 C-sali%%%%%%%%%%%%%%%
A=[.5 -.6;.75 1.1]
x0=[1 ;1.5]
close all
x=x0;
n=15;
for k=1:n
    y=A*x(:,end);
    x=[x y];
end;   

plot(x(1,:),x(2,:),'o')
hold on
plot(x(1,:),x(2,:))
plot(x(1,1),x(2,1),'rx')

figure

x0=[1 ;1.5]
x=x0;
n=50;
for k=1:n
    y=A*x(:,end);
    x=[x y];
end;   

plot(x(1,:),x(2,:),'o')
hold on
plot(x(1,:),x(2,:))
plot(x(1,1),x(2,1),'rx')
