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

Post on 27-Jul-2015

76 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: 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

Page 2: Sine