% Here is The first Matlab 
clear
clf
clc
%y=[1 2 5 3 6 7.8 -2.5 9 10];
omeg=input('frequency=_');
x=0:.05:8*pi;


y=sin(x*omeg); y1=exp(-x/5).*y;
plot(x,y,'-g'); hold on
plot(x,y1,'+r'); grid on
hold off