0% found this document useful (0 votes)
25 views

Digital Signal Processing Task 1 L1 + L2: Submitted By: D. Shivani Reddy (17bec0171) Shreshth Srivastava (17bec0340)

This document summarizes an experiment on digital signal processing. The objective is to study the response of a system with input signal sin(2πft) sampled at 3 times the baseband frequency of 15 Hz. The responses for impulse responses h(n) = [2 1 4] and h(n) = u(n) are calculated and plotted, where u(n) is the unit step function. The results show that convolving the input with h(n) = [2 1 4] produces a response y(n) with different values, while convolving with h(n) = u(n) produces a response where each value is either 0.8660 or 0, except the last value is

Uploaded by

shivani reddy
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Digital Signal Processing Task 1 L1 + L2: Submitted By: D. Shivani Reddy (17bec0171) Shreshth Srivastava (17bec0340)

This document summarizes an experiment on digital signal processing. The objective is to study the response of a system with input signal sin(2πft) sampled at 3 times the baseband frequency of 15 Hz. The responses for impulse responses h(n) = [2 1 4] and h(n) = u(n) are calculated and plotted, where u(n) is the unit step function. The results show that convolving the input with h(n) = [2 1 4] produces a response y(n) with different values, while convolving with h(n) = u(n) produces a response where each value is either 0.8660 or 0, except the last value is

Uploaded by

shivani reddy
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 12

DIGITAL SIGNAL PROCESSING

TASK 1
L1 + L2

SUBMITTED BY:

D. SHIVANI REDDY(17BEC0171)
SHRESHTH SRIVASTAVA (17BEC0340)
ANANYA.K .R ( 17BEC0857 )

Faculty: Shweta B Thomas


OBJECTIVE:

Let the input signal to a system is sin(2πft) with 15 Hz base band frequency. The input signal is sampled at
3 times of the base band signal frequency. The impulse response of the system is h(n). Study the response
of the system considering first four samples of the input signal for the following conditions:
1. h(n) = [2 1 4].
2. h(n) = u(n).
3. Compare the responses (use subplot).

ALGORITHM:

 Input signal = sin(2πft)


 Baseband frequency (f) = 15 Hz
 Sampling frequency (Fs) = Fm*3
 Time period (t) = (0: dt:3*dt);
 Define h1(n) and h2(n)
 x(n)*h(n) = y(n)
 Plot both the responses

PROGRAM:
MANUAL CALCULATION:
INFERENCE AND EXPERIMENT RESULT:
Input signal x(n) when convoluted with the impulse response h(n) gives y(n)
x(n)*h(n)= y(n)
For h(n) = [2 1 4] y(n)= [0 1.7321 -0.8660 2.5981 -3.4641 -0.0000]
For h(n) = u[n] y(n)= [0 0.8660 0.0000 0.0000 …. - 0.8660 0.0000]

For h(n)= u(n) :


Since u(n) ranges from zero to infinity, the 2nd last element of y(n) i.e., -0.8660 should theoretically
never occur. Therefore, in the plotted graph u(n) is ranged only till 20, so that the 2nd last element is
plotted.

You might also like