% file: task13.m

figure(1); clf;
plot(t, y, 'b', t, y2, 'k');
grid on; xlabel('time (s)');
legend({'Original', 'MA-2 filtered'});
