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

Discrete Time System

This document provides 10 questions for an assignment on digital signal processing. The questions cover topics like: 1) Plotting sequences defined by equations 2) Determining if systems are linear or nonlinear 3) Checking if systems are time invariant or time varying 4) Implementing non-causal filters and determining impulse responses 5) Computing convolution and correlation of sequences 6) Filtering signals using FIR filters The document was prepared by Professor M.C. Patel for the course EC302: Digital Signal Processing at S.V. National Institute of Technology, Surat. It contains MATLAB programming assignments related to discrete-time signals and systems.

Uploaded by

Michael George
Copyright
© Attribution Non-Commercial (BY-NC)
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)
27 views

Discrete Time System

This document provides 10 questions for an assignment on digital signal processing. The questions cover topics like: 1) Plotting sequences defined by equations 2) Determining if systems are linear or nonlinear 3) Checking if systems are time invariant or time varying 4) Implementing non-causal filters and determining impulse responses 5) Computing convolution and correlation of sequences 6) Filtering signals using FIR filters The document was prepared by Professor M.C. Patel for the course EC302: Digital Signal Processing at S.V. National Institute of Technology, Surat. It contains MATLAB programming assignments related to discrete-time signals and systems.

Uploaded by

Michael George
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 2

EC302:DigitalSignalProcessing,201011

PreparedBy:Prof.M.C.Patel,
ElectronicsEngineeringDepartment,
S.V.NationalInstituteofTechnology,Surat.
Laboiatoiy uS
Implementation of uiffeient
Bisciete time system
(1)Asequenceisgivenbyx(n) = (-n - 9), or u n S,writetheprogramtoplotthe
sequencesy|n] = x|4 - n].
(2)WriteaMATLABprogramtotestweatherfollowingsystemarelinearornonlinear.
(a)y|n] = x|n] - cos (n -
n
6
),
(b)y|n] = sin (x|n]),
(c)S -
d
dt
+ y(t) = S - x(t)
(3)WriteaMATLABprogramthatcheckthatfunctionorsystemaretimeinvariantortimevarying.
Thesystemequationsaregiveninquestion2.
(4)Writeaprogramtoimplementanoncausalthreesampleaveragegivenby
y|n] =
1
S
- {x|n + 1] + x|n] + x|n - 1]]
[5]Writeaprogramtocomputeandtheplottheimpulseresponseofsystemgivenby
y|n] = u.8 - y(n - 1) - u.64 - y|n - 2] + u.866 - x|n].
Alsodeterminethestabilityofthissystem
[6]Writeaprogramtodeterminetheoutputy[n],n0ofthesystemdescribedbydifferences
equation
y|n] = x|n] - 2 - x|n - 1] + x|n - 2]
wheretheinputisx[n]=u[n].Alsoploty[n]for0025.
[7]Writeaprogramtofindtheconvolutionofthetwosequencegivenbelow
x[n]={3,11,7,0,1,4,2}and
h[n]={2,3,0,5,2,1}
Thesystemequationgiveninq.6determinetheimpulseresponse.Andthenverifyusingthe
convolutionfunction.

EC302:DigitalSignalProcessing,201011
PreparedBy:Prof.M.C.Patel,
ElectronicsEngineeringDepartment,
S.V.NationalInstituteofTechnology,Surat.
[8]Writeaprogramtocomputeandplotthecorrelationsequencesr
xy
[m]andr
xx
[m]forthe
followingsignalsequences
x|n] = ]
1
u
or - S n 7
otbrwisc
and
y|n] = ]
1
u
or - S n S
otbrwisc
,
wheremistimeshiftparameter.
[9]Asystemhastheimpulseresponsesequencesgivenas
b|n] = _
(
1
2
, )
n
u
,
or u n S
otbcrwisc
,
writeaprogramtocomputetheoutputofthesystemwhentheinputsarethefollowingsequences.
(a)x|n] = (-12)
n
- u|n],and
(b)x|n] = cos (n -
n
16
),
(c)asonggeneratedinLab02q.6

[10]Asignalgivenby
x|n] = cos(u.u2S n) + u.S - cos (u.7S n)
isfilteredusingFIRfilterrepresentedas
y|n] =
x|n]
6
+
x|n-1]
3
+
x|n-2]
3
+
x|n-3]
6
,
Determiney[n]andplotx[n]andy[n].

You might also like