Tuesday, 15 May 2012

Write a MATLAB program to generate a discrete time sinusoidal sequence of amplitude 1.5 unit and frequency 0.1 unit. Observe the sequence for different phase angle. Take the time index value 0 to 40.


close all;
clc;
t=0:1:40;


f=0.1;
a=1.5*sin(2*pi*f*t);


plot(t,a);
xlabel('time-->');
ylabel('amplitude-->');
title('ine Waveform');

0 comments

 
© 2011-2012 ProgrammingBlue
Posts RSS Comments RSS
Back to top