clear all ; close all ; clc

theta1 = 60;
lambda1 = 3;
theta2 = 150;
lambda2 = -2;

V = [[cosd(theta1) ; sind(theta1)] , [cosd(theta2) ; sind(theta2)]];
A = V * (diag([lambda1 , lambda2]) / V);

eigshow(A);