clf;

n=0:25;

f = 3/17;
A = 1;
Th = 0;

x = A*cos(2*pi*f*n + Th);

subplot(211)
stem(n,x);
hold on
plot([0 25],[0 0]);   % Plot axis
grid
ti=title('f = 3/17 cycles/sample; 1/f = 5.67 samples/cycle');
set(ti,'FontSize',18);
yl=ylabel('x(n)');
set(yl,'FontSize',14);
set(yl,'FontWeight','bold');
xl=xlabel('n (sample)');
set(xl,'FontSize',14);
set(xl,'FontWeight','bold');

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

print -dps dt_freq.ps
