Michael Scholz 0fe686245c CE update
2013-02-20 16:20:56 +01:00

11 lines
281 B
Matlab

function [out] = fmyeigen(x)
% Defines a function which has eigenvector/eigenvalue as roots
% x(1) : first component of eigenvector
% x(2) : second component of eigenvector
% x(3) : eigenvalue
out=[(3-x(3))*x(1)+4*x(2); x(1)+(6-x(3))*x(2); x(1)*x(1)+x(2)*x(2)-1];
end