% DEMO          THE PURE TONE C.
%
% Program:      pure_tone_C.m
% Written by:   
% For:          EE 311
%               Demo For Computer Lab 3
% Date:         8-4-2001
% Purpose:      To create a pure tone of the musical note C. 
%               It must be the same length as yc for the assignment
% Note:         This is meant for the assignment part of Lab 3
fs=6000;
fc=261.2;       % Frequency of the note C.
t=0:1/fs:1;
pc=.5*cos(2*pi*fc*t);
sound(pc,fs)    % Play the note C for one second