Experiment-01
GENERATION OF SINEWAVE
AIM : Write a MATLAB program to display continuous type sine wave
PROGRAM
f=input('enter the frequency=');
t=0:.001:1;
clc;
x=sin(2*pi*f*t);
plot(x);
title('sine time');
xlabel('time');
ylabel('amplitude');
OUTPUT
Enter the frequency=3
No comments:
Post a Comment