You are on page 1of 3

EXPERIMENT NO – 01 (A)

Aim : To perform Generation of continuous time signals , using sin function .


Code (A) :
Clc
Close all
X = -2 : 0.01 : 2 ;
Y = sin (2*pi*x) ;
Plot( x, y, ‘b’)
Xlabel(“Time”)
Ylabel(‘Amplitude”)

Result :

Conclusion ;
Hence , we perform the Generation of continuous Time signal using sin function .
EXPERIMENT 1 (B)
Aim : To perform Generation of continuous time signal using square function .
Code (B) :
Clc
Close all
Time = 0 :0.01 : 2 ;
X = square (4*pi*time);
Plot (time , x)

Result :

Conclusion :
Hence , we perform the generation of continuous time signal using square function .
EXPERIMENT 1 (C)
Aim : To perform generation of continuous time signal using sawtooth function .
Code ( C ) :
Clc
Close all
T = [ 0 : 0.01 : 2] ;
Y = sawtooth (2*pi*t*2) ;
Plot (t , y);
Xlabel( “ time “ ) ;
Ylabel( “ Amplitude “) ;

Result :

Conclusion :
Hence , we perform the generation of continuous time signal using sawtooth function
experiment .

You might also like