% hakta
% EQA3YM

load lab06_rajzok.mat

randomSzam = randi([1 4]);

switch (randomSzam)
    case 1
        Y = B * rot1 + off1;
    case 2
        Y = B * rot2 + off2;
    case 3
        Y = B * rot3 + off3;
    case 4
        Y = B * rot4 + off4;
end

plot(Y(:,1), Y(:,2), 'b-')
title('"C" feladat')
axis([-1 11 -1 11])