t=[0:.1:100]';
u=-1+0.02*t;
y=sin(0.2*t);
figure(2),clf
plot(t,y,t,u)
legend('y','u')