Program for the generation of cosine sequence - Code

Latest

programs

Wednesday, December 7, 2011

Program for the generation of cosine sequence


Cosine Sequence: -

% Program for the generation of cosine sequence
t=0:.01:pi;
y=cos(2*pi*t);
figure(2);
subplot(2,1,1);
plot(t,y);
ylabel('Amplitude-->');
xlabel('(a)n-->');

output:

No comments:

Post a Comment