Sine
2
PROGRAM :-2 AIM :- Program for the generation of cosine signal. TOOL REQUIRED:- MATLAB and computer PROGRAM:- t=0:0.01:pi; y=cos(2*pi*t); plot(t,y); ylabel('amplitude'); xlabel('t') OBSERVATION:- 0 0.5 1 1.5 2 2.5 3 3.5 -1 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 1 amplitude t
-
Upload
ashok-singh -
Category
Technology
-
view
76 -
download
1
Transcript of Sine
PROGRAM:-2
AIM :- Program for the generation of cosine signal.TOOL REQUIRED:-MATLAB and computerPROGRAM:-t=0:0.01:pi; y=cos(2*pi*t); plot(t,y); ylabel('amplitude'); xlabel('t')OBSERVATION:-
0 0.5 1 1.5 2 2.5 3 3.5-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
amplitude
t
RESULT:-Graph is drawn.PRECAUTION:-1) Write the program carefully.2) save carefully