echo on
close all
%--------------------------------------------------------------------------
% 1. gyakorló feladat megoldása
%--------------------------------------------------------------------------
%
den = conv([10 1],conv([5 1],[1 1]));
num1 = 10;
num2 = 10*[15 1];
num3 = 10*conv([15 1],[3 1]);

step(num1,den); grid;
hold
step(num2,den);
step(num3,den);
legend('1','2','3');
hold off

figure
bode(num1,den); grid
hold
bode(num2,den);
bode(num3,den);
legend('1','2','3');
hold off
echo off;