From: <Saved by Windows Internet Explorer 7>
Subject: 
Date: Tue, 11 Dec 2007 15:46:16 -0800
MIME-Version: 1.0
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.stanford.edu/class/ee263/matlab/line_conv_data.m
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.6000.16544" name=3DGENERATOR></HEAD>
<BODY><PRE>% Data for point of closest convergence problem
n =3D 2;
m =3D 15;
P =3D[ -0.7930, -6.1337, 6.5463, 1.3785, -4.0749, 1.9969, 3.0305, =
1.7315, -0.2904, 4.6367, 1.3919, 0.0103, 3.1012, 10.9183, 4.6092;
2.4518, -4.4494, 2.6530, -3.6324, 3.5452, 3.8776, 0.5708, -0.0375, =
1.4084, 7.7409, 3.0078, 2.4676, -1.0208, 4.2206, 6.0331;
];
V =3D[ -1.0000, -0.4409, 0.9477, -0.2011, -0.0852, 0.9502, -0.6529, =
-0.5113, -0.9721, 0.5746, -0.5262, 0.9977, -0.5202, -0.4683, -0.6865;
0.0058, -0.8976, 0.3193, 0.9796, -0.9964, 0.3115, -0.7575, 0.8594, =
-0.2347, -0.8184, -0.8504, -0.0676, 0.8540, 0.8836, -0.7272;
];



%----------------
% your code here=20










zstar=3D=20
%----------------



t=3D-50:0.1:50;
for i=3D1:m
    cor=3DV(:,i)*t+P(:,i)*ones(1,length(t));
    plot(cor(1,:),cor(2,:));
    hold on
end
plot(zstar(1),zstar(2),'*r')
axis([-20 20 -20 20])
</PRE></BODY></HTML>
