0% found this document useful (0 votes)
19 views5 pages

DSPLAB Questions For Internal Test

Questions

Uploaded by

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

DSPLAB Questions For Internal Test

Questions

Uploaded by

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

1) Write a matlab program to generate elementary signals i.e.

impulse, step ramp and parabolic

2) :Determine impulse response of given difference equation: a)𝑦(𝑛) + 1/ 2 𝑦(𝑛 − 1) = 2𝑥(𝑛). Write
signal in continuous time domain

a matlab program to verify the same and in command window.

3) Write a matlab program to generate elementary signals i.e. rectangular. triangular sinc and
%signum signal in continuous time domain.

𝑦(𝑛) – 1/ 4 𝑦(𝑛 − 1) − 3 /8 𝑦(𝑛 − 2) = −𝑥(𝑛) + 2𝑥(𝑛 − 1)


4) Determine impulse response of given difference equation

Write a matlab program to verify the same and in command window.

5) Write a matlab program to generate unit step, impulse ramp and exponential signal in discrete time

6) Determine the step response for the system 𝑦(𝑛) + 1/ 2 𝑦(𝑛 − 1) =


domain

2𝑥(𝑛). Write a matlab program to verify the same and in command


window.

1
8) Determine the natural response for the difference equation 𝑦(𝑛) − 1 /4 𝑦(𝑛 − 1) − 1 /8 𝑦(𝑛 − 2) =
7) Write a matlab program to generate exponential sequence for different cases.

𝑥(𝑛)
+ 𝑥(𝑛 − 1), 𝑔𝑖𝑣𝑒𝑛 𝑦(−1) = 0 𝑎𝑛𝑑 𝑦(−2) = 1.
Write a matlab program to verify the same and in command window.

10) Calculate the forced response for the difference equation: 𝑦(𝑛) – 5/ 6 𝑦(𝑛 − 1) + 1/ 6 𝑦(𝑛 − 2) =
9) Write a matlab program to generate continuous time and sinusoidal signals and Gaussian signals

𝑥(𝑛),𝑙𝑒𝑡 𝑥(𝑛) = 2 𝑛 . 𝑢(𝑛)


Write a matlab program to verify the same and in command window.

11) Write a matlab program to generate unit step function using signum function in continuous time
domain
12) Find the total response of the system described by the difference equation. y(n) + 3y (n-1)= x(n) With
x(n) = u(n) and y(-1) =1.
Write a matlab program to verify the same and in command window.

2
13) Write a matlab program to multiply 2 continuous time signals
14) To determine the linear convolution of x (n) and h(n). To draw the graphs of x(n, h(n) and y(n).
X(n)= (1,1, 1, 0,1) and h(n)= (-3,4)
Write a matlab program for the same and verify the results if
i)starting point of x(n) is at first sample and h(n) is at first sample
ii)starting point of x(n) is at 3rd sample and starting point of h(n) is at second sample

15) Write a matlab program to multiply sinc signal with sine signal and to multiply cosine and
phase shifted sine signal
16) Determine the linear convolution of x (n) and h(n). To draw the graphs of x(n, h(n) and y(n).
If x(n) = 1 for 0<n<4
=0 elsewhere
h(n)= 2 ^n for 0<n<6
=0 elsewhere. Starting point of x(n) and h(n) is at first sample.
Write a matlab program for the same and verify the results.

17) Write a matlab program to multiply discrete time sequences.


18) Determine the linear convolution of x (n) and h(n). To draw the graphs of x(n, h(n) and
y(n). If x(n)=(2,-1)
h(n)=(1,3,2,-1,1)
Starting point of x(n) is at first sample and h(n) starts at second sample.
Write a matlab program for the same and verify the results.

3
19) Write a matlab program to generate y(n)=u(n+3)+5u(n-15)+4u(n+10).
20) Determine DFT of x(n) =(1,1, 0,0). Draw the graph of x(n), X(K), magnitude and phase of
X(K). Write a matlab program to find DFT by definition method.

21) Write a matlab program to draw triangular, sinc signal and signum signal
22) Determine IDFT of X(K) =(2, 1-j, 0, 1+j). Draw the graph of X(K) and x(n).Write a matlb program to find
IDFT using definition method.

23) Write a matlab program to obtain even and odd part of signal X(T)=SIN(WT).
U(T) 24)Determine the circular convolution of 2 sequences if
X(n)=(1, 2, 3,4) and Y(n)=(1,1,1,1). Write a matlab program using fft and ifft command. Draw the graph
of output .

4
25)Write a matlab program to find even and odd part of discrete time signal y(n)=u(n)-u(n-10)
26)Find the linear convolution of x(n)= (3,1,2,-1) and h(n)=(3,2,1) using direct conv command and using
fft and ifft command.. Draw the graph of output using both the methods.

You might also like