clear
t=[0:.1:100]';
y=sin(0.2*t);
figure(1)
clf
plot(t,y);
xmin=0;
xmaks=50;
ymin=-2;
ymaks=2;
axis([xmin xmaks ymin ymaks])
xlabel('t [sek]')
ylabel('y')