Cos

2
PROGRAM :-1 AIM :- Program for the generation of sine signal. TOOL REQUIRED:- MATLAB and computer PROGRAM:- t=0:0.01:pi; y=sin(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

Transcript of Cos

Page 1: Cos

PROGRAM:-1

AIM :- Program for the generation of sine signal.TOOL REQUIRED:-MATLAB and computerPROGRAM:-t=0:0.01:pi; y=sin(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

Page 2: Cos