clf;

t=0:.01:10;

F1 = 1/4;
A1 = 1;
Th1 = pi/4;

xa1 = A1*cos(2*pi*F1*t + Th1);

subplot(211)
plot(t,xa1);
hold on
plot([0 10],[0 0]);   % Plot axis
grid
ti=title('F_1 = 1/4 cycles/sec');
set(ti,'FontSize',18);
yl=ylabel('xa_1(t)');
set(yl,'FontSize',14);
set(yl,'FontWeight','bold');

F2 = 5/4;
A2 = 1;
Th2 = pi/4;

xa2 = A2*cos(2*pi*F2*t + Th2);

subplot(212)
plot(t,xa2);
hold on
plot([0 10],[0 0]);   % Plot axis
grid
ti=title('F_2 = 5/4 cycles/sec');
set(ti,'FontSize',18);
xl=xlabel('t (sec)');
set(xl,'FontSize',14);
set(xl,'FontWeight','bold');
yl=ylabel('xa_2(t)');
set(yl,'FontSize',14);
set(yl,'FontWeight','bold');

tt=text(9.8,-1.5,'8/25/00');
set(tt,'FontSize',8);
set(tt,'FontName','Courier');

%print -dps two_freq_ct.ps
