0% found this document useful (0 votes)
16 views10 pages

Signal and System - Part B

Uploaded by

Fatin Fadhlina
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views10 pages

Signal and System - Part B

Uploaded by

Fatin Fadhlina
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Department of Computer and Communication Systems Engineering

Faculty of Engineering
Universiti Putra Malaysia
43400 UPM Serdang
Selangor

Course : ECC3120 Signal And System


Credit Hours : 2+1
Semester : 2 (2021/2022)
Lecturer : Dr Siti Barirah Binti Ahmad Awas

SIGNAL AND SYSTEM MATHEMATICAL MODELING : PART B

NAME MATRIC NO.


NUR SYAFIQAH HUSNA BINTI HUSSIN 206203
SITI NOR HANIM BINTI JEMIAN 206219
FATIN FADHLINA BINTI AZHAN 206288
AIMANUDDIN BIN SHARIFUDDIN 206353
TASK DISTRIBUTION

NAME TASK

NUR SYAFIQAH HUSNA BINTI HUSSIN - Run the code (Question 3)


- Worked on assignments reports (Part B)

SITI NOR HANIM BINTI JEMIAN - Modified the code (Question 3)


- Worked on assignments reports (Part B)

FATIN FADHLINA BINTI AZHAN - Exact result for convolution (Question 4)


- Worked on assignment reports (Part B)

AIMANUDDIN BIN SHARIFUDDIN - Computed numerical convolution (Question 4)


- Worked on assignments reports (Part B)
Table 1: Task distribution of group members

GANTT CHART AND MILESTONE

Figure 1 : Gantt chart and milestone


MATLAB SOURCE CODE
Question 3

Modified code for


question a

Modified code for


question b
Modified code for
question c

Table 2 : Matlab’s code for question 3

Question 4
Figure 2: Matlab’s code for question 4

PRINTOUTS OF THE INDICATED PLOTS


Question 3
a)

h1[n]

h2[n]
x[n]

Table 3: Indicated plot obtained for question 3a)

b)

v[n]

y[n]

Table 4: Indicated plot obtained for question 3b)


c)

v[n]

y[n]

Table 4: Indicated plot obtained for question 3c)


Question 4

Figure 3: Indicated plot obtained for question 4

DISCUSSION/ANALYTICAL PORTIONS OF THE PROBLEMS


Question 3
The operation of discrete time convolution is defined such that it performs this function
for infinite length discrete time signals and systems. The operation of discrete time circular
convolution is defined such that it performs this function for finite length and periodic discrete
time signals. In each case, the system's output is the convolution or circular convolution of the
input signal with the unit impulse response. Convolution can be used to determine the output
signal of a linear time invariant system for a given input signal with knowledge of the system's
unit impulse response.
Based on the question , all signal systems defined h1[n] ,h2[n] and x[n] are from n=-8
until n=8.Thus , the length of these signal systems is 17. The result of plotting can be seen in
table a question 3 under printouts of the indicated plots. Given the discrete-time system of H1
and H2 with impulse response and discrete-time and signal:
ℎ1 = 𝛿[𝑛] + 𝛿[𝑛 − 1] + 𝛿[𝑛 − 2] + 𝛿[𝑛 − 3]
1 𝑛
ℎ2 = ( 2 ) (𝑢[𝑛 + 3] − 𝑢[𝑛 − 3])
1 𝑛
𝑥[𝑛] = ( 4 ) (𝑢[𝑛] − 𝑢[𝑛 − 6])

The subplot function for convolution of v[n] and y[n] as for question 3b) were considered based
on their transform representations below:
𝑉 = 𝑋 ∗ 𝐻1 and 𝑌 = 𝑋 ∗ 𝐻1 ∗ 𝐻2

While for question 3c), the subplot function of v[n] and y[n] were obtained based on the
transform representations below:
𝑉 = 𝑋 ∗ 𝐻2 and 𝑌 = 𝑋 ∗ 𝐻2 ∗ 𝐻1

The difference between 3b) and 3c) is the interchange of h1 and h2. By using the Matlab
subplot features, it can be observed that from the convolution function plotted, only the internal
values will be interchanged while the output remains unchanged. Even though it has been
reversed , the output of the signals still remains the same.

Question 4
Convolution is a mathematical operation that modifies two functions (x and h) to create a third
function. The convolution integral is a convolution process that occurs between x(t) excitation
and impulse response h(t) in a continuous time (CT) system. The convolution integral is defined
by .

The question given was to convolve these two signals:


𝑡−1 −0.5𝑡
𝑥(𝑡) = 𝑟𝑒𝑐𝑡( 2
) ℎ(𝑡) = 𝑒 𝑢(𝑡)

Using the subplot capability of Matlab, we have plotted signal x(t) and h(t) with y(t) in mind.
This was done by having m = 3 , n = 1 and each of the 3 signals having 1, 2, 3 values of p
respectively.
The exact
results.

As a comparison between the exact results and numerically computed results from Matlab, the
graphs obtained are identical. The exact results were obtained by performing integrations to find
y(t) for all values of t. The graph is obtained by performing an integral after reversing and
shifting in time. From here we can conclude that both methods would work wonders although,
using Matlab would save us more time as the variables can be manipulated and configured more
easily. In addition, using a numerically computed method would also help us reduce the risks of
having experimental/human error.

You might also like