Sunteți pe pagina 1din 12

MCT-301 SIGNAL AND SYSTEM LAB MANUAL

------------------------------------------------------------------------------------------------------------------------------------------

Lab # 04
Objectives:
 To get familiarize with even and odd functions
 Plot Causal and non-Causal signals
 Calculate the power and energy of a signal
Introduction:
Rectangular Pulse Function:

The Rectangular Waveform object creates a rectangular pulse waveform. For that
purpose we use Heaviside command.

Simulations:
Task: Draw a Rectangular Pulse Function
P= u(t+2) – u(t-2) { 1 -2<=+<=2}
When T=2 { 0 otherwise}

Fig.4.1 Rectangular Pulse Function

Task: Real exponential Function (D.T)

x[n]=(0.8)n -3<= n<=5

x[n]=(1.2)n -3<= n<=5\

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 14
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Fig.4.2 Real Exponential Sequence


Task: Plot real, imaginary, absolute, angle
For Real Part

Fig.4.3 Real plot


For Absolute

Fig.4.4 Absolute plot

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 15
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

For angle

Fig.4.5 angle plot


Task: Plot two Sinosoidal Sequence
x[n]=Acos(Wn+@)
plot x[n]=2cos(n/2 + pi/4)
y[n]=2cos(npi/6 + pi/4)

Fig.4.6 A sinusoidal Function


Task: Plot Continuous time signal Sampling to D.T Signal

Fig.4.7 Continuous time signal

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 16
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Task: Plot Sawtooth

Fig.4.8 Sawtooth Signal


Task: Plot Square

Fig.4.9 plotting a Square shape Signal


Causal Signal:
A signal x(t) is casual if it is zero for all negative values of time, i.e x(t)=0, t<0
Task: Plot a Casual Signal

Fig.4.10 Casual Signal

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 17
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Non-Causal:
Non-casual signals are signals that have nonzero values in both positive and negative
time. Finally, a signal that is zero for all positive time is called anti casual
Task: Plot a Non-Casual Signal.

Fig.4.11 Non-Casual Signal

Even Odd and their addition:


A signal x(t) is even if x(-t)=x(t), -inf <t<inf
A signal is odd if x(-t)=-x(t), -inf<t<inf

Fig.4.12 Even Odd Signal and Their Sum

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 18
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Power Signal:
A signal x(t) is called a power signal if 0<Px<inf. In order to calculate the energy or the
power of a signal , recall that the command limit (F ,x ,a) computes the limit of the function F
when the symbolic variable x tends to a.
Task:
Verify that x(t)=u(t) is a power signal while x(t)=u(t)-u(t-1) is an energy type signal.

Fig.4.13 Power or Energy signal

Conclusion:
 In sampling the frequency must Fs>2f, according to Sampling theorem.
 If the signal is of finite energy, the signal power is zero. On the other hand, if a signal is a
power signal its energy is infinite.
 There are some signals, that are neither energy signals nor power signals.

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 19
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Lab # 05
Objectives:
 To get familiarize with even and odd functions
 Plot Causal and non-Causal signals
 Calculate the power and energy of a signal
Introduction:
Simulations:
Task
plot

X(t)= u(t+1)-u(t-2)+u(t-4)

By using heaviside

t=-5:0.1:10

Plot

X(t)= u(t+1)*2u(t-2)

By using Heaviside

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 20
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Plot

X(t)= tsin(2pit)(u(t)-u(t-3))

By using Heaviside

Plot the graph

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 21
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 22
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Properties of a Signal

Siso

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 23
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

Miso

Simo

Mimo

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 24
MCT-301 SIGNAL AND SYSTEM LAB MANUAL
------------------------------------------------------------------------------------------------------------------------------------------

1. Casual and non casual

2. Static(memory) and dynamic (with memory system)


o/p depends only on an current value of ip

INSTRUCTOR: S M UMAIR RASHEED


LECTURER
MECHATRONICS & CONTROL ENGG. DEPT.

P a g e | 25

S-ar putea să vă placă și