SlideShare une entreprise Scribd logo
1  sur  53
Télécharger pour lire hors ligne
MATLAB(01)
Discrete-Time Signals and
Systems
Assist. Prof. Amr E. Mohamed
Discrete-Time Signals
2
Discrete-Time Signals
 A discrete signal will be denoted by x(n), in which the variable n is integer-
valued and represents discrete instances in time (Sequence of Number).
𝑥(𝑛) = { 𝑥(𝑛) } = { . . . , 𝑥( − 1), 𝑥(0), 𝑥(1), . . . }
 where the up-arrow indicates the sample at n = 0.
 In MATLAB we can represent a finite-duration sequence by a row vector
of appropriate values.
 For example, a sequence x(n) = { 2, 1, − 1, 0, 1, 4, 3, 7 } can be
represented in MATLAB by
 An arbitrary infinite-duration sequence cannot be represented in
MATLAB due to the finite memory limitations.
3
↑
↑
Types Of Sequences
1. Unit sample sequence:
 For example, to implement
 over the 𝑛1 ≤ 𝑛0 ≤ 𝑛2 interval, we will use the following MATLAB function.
4
Types Of Sequences (Cont.)
2. Unit step sequence:
 For example, to implement
 over the 𝑛1 ≤ 𝑛0 ≤ 𝑛2 interval, we will use the following MATLAB function.
5
Types Of Sequences (Cont.)
3. Real-valued exponential sequence:
 For example, to generate 𝑥 𝑛 = 0.9 𝑛 , 0 ≤ 𝑛 ≤ 10, we will need the
following MATLAB script:
6
Types Of Sequences (Cont.)
4. Complex-valued exponential sequence:
 where σ produces an attenuation (if <0) or amplification (if >0) and ω 0 is
the frequency in radians.
 For example, to generate 𝑥 𝑛 = 𝑒(2 + 𝑗3)𝑛 , 0 ≤ 𝑛 ≤ 10, we will need
the following MATLAB script:
7
Types Of Sequences (Cont.)
5. Sinusoidal sequence:
 where A is an amplitude and θ0 is the phase in radians.
 For example, to generate 𝑥 𝑛 = 3 𝑐𝑜𝑠 0.1𝜋𝑛 +
𝜋
3
+ 2 𝑠𝑖𝑛( 0.5𝜋𝑛 ),
0 ≤ 𝑛 ≤ 10, we will need the following MATLAB script:
8
Types Of Sequences (Cont.)
6. Random sequences:
 Many practical sequences cannot be described by mathematical
expressions like those above. These sequences are called random (or
stochastic) sequences and are characterized by parameters of the
associated probability density functions.
 In MATLAB two types of (pseudo-) random sequences are available.
 The rand(1,N) generates a length N random sequence whose elements are
uniformly distributed between [0, 1].
 The randn(1,N) generates a length N Gaussian random sequence with mean
0 and variance 1.
 Other random sequences can be generated using transformations of the
above functions.
9
Types Of Sequences (Cont.)
7. Periodic sequence:
 A sequence x(n) is periodic if x(n) = x(n + N), ∀n. The smallest integer N
that satisfies this relation is called the fundamental period. We will use
˜x(n) to denote a periodic sequence.
 To generate P periods of 𝑥(𝑛) from one period { 𝑥(𝑛), 0 ≤ 𝑛 ≤ 𝑁 − 1} ,we
can copy 𝑥(𝑛) 𝑃 times:
 But an elegant approach is to use MATLAB’s powerful indexing
capabilities.
10
Operations On Sequences
1. Signal addition:
 This is a sample-by-sample addition given by
 The following function, called the 𝑠𝑖𝑔𝑎𝑑𝑑 function, demonstrates these
operations.
11
Operations On Sequences (Cont.)
2. Signal multiplication:
 This is a sample-by-sample (or “dot”) multiplication) given by This is a sample-by-
sample addition given by
 The following function, called the 𝑠𝑖𝑔𝑚𝑢𝑙𝑡 function, demonstrates these operations.
12
Operations On Sequences (Cont.)
3. Scaling:
 In this operation each sample is multiplied by a scalar α.
𝛼 { 𝑥(𝑛) } = { 𝛼𝑥(𝑛) }
 An arithmetic operator (*) is used to implement the scaling operation in
MATLAB.
13
Operations On Sequences (Cont.)
4. Shifting:
 In this operation, each sample of x(n) is shifted by an amount k to obtain a
shifted sequence y(n).
𝑦(𝑛) = { 𝑥(𝑛 − 𝑘) }
 If we let 𝑚 = 𝑛 − 𝑘, then 𝑛 = 𝑚 + 𝑘 and the above operation is given by
𝑦(𝑚 + 𝑘) = { 𝑥 (𝑚) }
 This is shown in the function 𝑠𝑖𝑔𝑠ℎ𝑖𝑓𝑡.
14
Operations On Sequences (Cont.)
5. Folding:
 In this operation each sample of x(n) is flipped around n = 0 to obtain a
folded sequence y(n).
𝑦(𝑛) = { 𝑥( − 𝑛) }
 In MATLAB this operation is implemented by 𝑓𝑙𝑖𝑝𝑙𝑟(𝑥) function for
sample values and by −𝑓𝑙𝑖𝑝𝑙𝑟(𝑛) function for sample positions as shown
in the 𝑠𝑖𝑔𝑓𝑜𝑙𝑑 function.
15
Operations On Sequences (Cont.)
6. Sample summation:
 This operation differs from signal addition operation. It adds all sample
values of 𝑥(𝑛) between 𝑛1 and 𝑛2.
 It is implemented by the 𝑠𝑢𝑚(𝑥(𝑛1: 𝑛2)) function.
16
Operations On Sequences (Cont.)
7. Sample products:
 This operation also differs from signal multiplication operation. It
multiplies all sample values of 𝑥(𝑛) between 𝑛1 and 𝑛2.This operation
differs from signal addition operation. It adds all sample values of 𝑥(𝑛)
between 𝑛1 and 𝑛2.
 It is implemented by the 𝑝𝑟𝑜𝑑(𝑥(𝑛1: 𝑛2)) function.
17
Operations On Sequences (Cont.)
8. Signal energy:
 The energy of a sequence x(n) is given by
 where superscript (∗) denotes the operation of complex conjugation.
The energy of a finite-duration sequence 𝑥(𝑛) can be computed in
MATLAB using
18
OPERATIONS ON SEQUENCES (Cont.)
9. Signal power:
 The average power of a periodic sequence 𝑥(𝑛) with fundamental period 𝑁
is given by
19
EXAMPLE #1
20
EXAMPLE #1 - Solution
21
EXAMPLE #1 - Solution
22
EXAMPLE #1 - Solution
23
EXAMPLE #1 - Solution
24
Note that over the given interval, the sequence ˜x (n) has four periods.
EXAMPLE #2
25
EXAMPLE #2 - Solution
26
EXAMPLE #3
27
EXAMPLE #3 - Solution
28
Even and odd synthesis
 A real-valued sequence x e (n) is called even (symmetric) if
𝑥 𝑒(−𝑛) = 𝑥 𝑒(𝑛)
 Similarly, a real-valued sequence x o (n) is called odd (antisymmetric) if
𝑥 𝑜(−𝑛) = −𝑥 𝑜(𝑛)
 Then any arbitrary real-valued sequence x(n) can be decomposed into
its even and odd components
𝑥(𝑛) = 𝑥 𝑒(𝑛) + 𝑥 𝑒(𝑛)
 where the even and odd parts are given by
𝑥 𝑒 𝑛 =
1
2
𝑥 𝑛 + 𝑥 −𝑛 𝑎𝑛𝑑 𝑥 𝑜(𝑛) =
1
2
[𝑥(𝑛) − 𝑥(−𝑛)]
29
Even and odd synthesis
 Using MATLAB operations discussed so far, we can obtain the following
𝑒𝑣𝑒𝑛𝑜𝑑𝑑 function.
30
EXAMPLE #4 with Solution
31
Discrete Time Systems
32
Discrete Time Systems
 A discrete-time system (or discrete system for short) is described as an
operator T[ · ] that takes a sequence x(n) (called excitation) and
transforms it into another sequence y(n) (called response). That is,
𝑦(𝑛) = 𝑇[𝑥(𝑛)]
1. LINEAR SYSTEMS:
 A discrete system T[ · ] is a linear operator L[ · ] if and only if L[ · ]
satisfies the principle of superposition, namely,
𝐿 𝑎1 𝑥1 𝑛 + 𝑎2 𝑥2 𝑛 = 𝑎1 𝐿 𝑥1 𝑛 + 𝑎2 𝐿[𝑥2(𝑛)], ∀𝑎1, 𝑎2, 𝑥1 𝑛 , 𝑥1 𝑛
33
Discrete Time Systems (Cont.)
2. Linear time-invariant (LTI) system:
 A linear system in which an input-output pair, x(n) and y(n), is invariant to a
shift k in time is called a linear time-invariant system i.e.,
𝑦(𝑛) = 𝐿[𝑥(𝑛)] ⇒ 𝐿[𝑥(𝑛 − 𝑘)] = 𝑦(𝑛 − 𝑘)
 For an LTI system the L[·] and the shifting operators are reversible as shown here.
 Let x(n) and y(n) be the input-output pair of an LTI system. Then the output is
given by the convolution:
𝑦 𝑛 = 𝐿𝑇𝐼 𝑥 𝑛 = 𝑥 𝑛 ∗ ℎ(𝑛) =
𝑘=−∞
∞
𝑥(𝑘)ℎ(𝑛 − 𝑘)
34
Discrete Time Systems (Cont.)
3. Stability:
 The primary reason for considering stability is to avoid building harmful
systems or to avoid burnout or saturation in the system operation.
 A system is said to be bounded-input bounded-output (BIBO) stable if
every bounded input produces a bounded output.
| 𝑥(𝑛) | < ∞ ⇒ | 𝑦(𝑛) | < ∞ , ∀ 𝑥, 𝑦
 An LTI system is BIBO stable if and only if its impulse response is
absolutely summable.
𝐵𝐼𝐵𝑂 𝑆𝑡𝑎𝑏𝑖𝑙𝑖𝑡𝑦 ⇐⇒
−∞
∞
| ℎ(𝑛) | < ∞
35
Discrete Time Systems (Cont.)
4. Causality:
 This important concept is necessary to make sure that systems can be
built. A system is said to be causal if the output at index 𝑛0 depends only
on the input up to and including the index 𝑛0; that is, the output does not
depend on the future values of the input.
 An LTI system is causal if and only if the impulse response
ℎ(𝑛) = 0, 𝑛 < 0
36
Convolution
 MATLAB does provide a built-in function called conv that computes the
convolution between two finite-duration sequences. The conv function
assumes that the two sequences begin at n = 0 and is invoked by
 Example #5:
 Let the rectangular pulse 𝑥(𝑛) = 𝑢(𝑛) − 𝑢(𝑛 − 10) of Example 2.4 be an
input to an LTI system with impulse response ℎ(𝑛) = (0.9) 𝑛 𝑢(𝑛) .
Determine the output y(n).
 Solution:
37
Convolution (Cont.)
 A simple modification of the conv function, called 𝑐𝑜𝑛𝑣_𝑚 , which
performs the convolution of arbitrary support sequences can now be
designed.
38
Example #6
 Given the following two sequences
𝑥 𝑛 = 3, 11, 7, 0, − 1, 4, 2 , − 3 ≤ 𝑛 ≤ 3;
ℎ(𝑛) = [2, 3, 0, − 5, 2, 1], − 1 ≤ 𝑛 ≤ 4
determine the convolution y(n) = x(n) ∗ h(n).
 Solution:
39
↑
↑
Sequence Correlations Revisited
 The crosscorrelation 𝑟𝑥𝑦(ℓ ) can be put in the form
𝑟𝑥𝑦(ℓ ) = 𝑦(ℓ) ∗ 𝑥(−ℓ)
 The autocorrelation 𝑟𝑥𝑥(ℓ ) in the form
𝑟𝑥𝑥(ℓ ) = 𝑥(ℓ) ∗ 𝑥(−ℓ)
 Therefore these correlations can be computed using the 𝑐𝑜𝑛𝑣_𝑚
function if sequences are of finite duration.
40
Example #7
 Let 𝑥(𝑛) = [3, 11, 7, 𝟎, − 1, 4, 2] be a prototype sequence, and let 𝑦(𝑛)
be its noise-corrupted-and-shifted version 𝑦(𝑛) = 𝑥(𝑛 − 2) + 𝑤(𝑛)
where w(n) is Gaussian sequence with mean 0 and variance 1. Compute
the crosscorrelation between y(n) and x(n).
 Solution:
 let us compute the crosscorrelation using two different noise sequences.
41
Example #7 - Solution
42
we observe that the crosscorrelation indeed peaks at ℓ = 2, which implies that y(n) is similar to x(n) shifted by
2. This approach can be used in applications like radar signal processing in identifying and localizing targets.
Sequence Correlations Revisited
 Note that the signal-processing toolbox in MATLAB also provides a
function called xcorr for sequence correlation computations. In its
simplest form.
 computes the crosscorrelation between vectors x and y, while
 computes the autocorrelation of vector x. It generates results that are
identical to the one obtained from the proper use of the conv m
function.
 However, the 𝑥𝑐𝑜𝑟𝑟 function cannot provide the timing (or lag)
information (as done by the 𝑐𝑜𝑛𝑣_𝑚 function), which then must be
obtained by some other means.
43
Difference Equations
 An LTI discrete system can also be described by a linear constant coefficient
difference equation of the form
 If 𝑎 𝑁 ≠ 0, then the difference equation is of order 𝑁. This equation describes a
recursive approach for computing the current output, given the input values
and previously computed output values. In practice this equation is computed
forward in time, from 𝑛 = −∞ to 𝑛 = ∞.
 Therefore another form of this equation is
44
Difference Equations (Cont.)
 A solution to this equation can be obtained in the form
𝑦(𝑛) = 𝑦 𝐻(𝑛) + 𝑦 𝑃(𝑛)
 The homogeneous part of the solution, 𝑦 𝐻
(𝑛) , is given by
𝑦 𝐻(𝑛) =
𝑘=1
𝑁
𝐶 𝑘 𝑧 𝑘
𝑛
 where 𝑧 𝑘, 𝑘 = 1, . . . , 𝑁 are 𝑁 roots (also called natural frequencies) of the
characteristic equation
0
𝑁
𝑎 𝑘 𝑧 𝑘
= 0
 This characteristic equation is important in determining the stability of
systems. If the roots 𝑧 𝑘 satisfy the condition
|𝑧 𝑘| < 1, 𝑘 = 1, . . . , 𝑁
45
MATLAB Implementation
 A function called 𝑓𝑖𝑙𝑡𝑒𝑟 is available to solve difference equations
numerically, given the input and the difference equation coefficients. In
its simplest form this function is invoked by
 where
 are the coefficient arrays from the difference equation, and 𝑥 is the
input sequence array. The output 𝑦 has the same length as input 𝑥. One
must ensure that the coefficient 𝑎0 not be 𝑧𝑒𝑟𝑜.
 To compute and plot impulse response, MATLAB provides the function
𝑖𝑚𝑝𝑧. When invoked by
 fgdg
46
Example #8
 Given the following difference equation
𝑦(𝑛) − 𝑦(𝑛 − 1) + 0.9𝑦(𝑛 − 2) = 𝑥(𝑛); ∀ 𝑛
a. Calculate and plot the impulse response ℎ(𝑛) at 𝑛 = − 20, . . . , 100.
b. Calculate and plot the unit step response 𝑠(𝑛) at 𝑛 = − 20, . . . , 100.
c. Is the system specified by ℎ(𝑛) stable?
47
Example #8 - Solution
 From the given difference equation the coefficient arrays are
 a. MATLAB script:
 b. MATLAB script:
48
Example #8 – Solution (Cont.)
 c. To determine the stability of the system, we have to determine h(n)
for all n. Although we have not described a method to solve the
difference equation,
 we can use the plot of the impulse response to observe that h(n) is
practically zero for 𝑛 > 120. Hence the sum |ℎ(𝑛)| can be determined from
MATLAB using
• which implies that the system is stable.
 An alternate approach using MATLAB’s roots function.
• Since the magnitudes of both roots are less than one, the system is stable.
49
Digital Filters
 Filter is a generic name that means a linear time-invariant system
designed for a specific job of frequency selection or frequency
discrimination. Hence discrete-time LTI systems are also called digital
filters. There are two types of digital filters.
 FIR
 IIR
50
FIR Digital Filters
 If the unit impulse response of an 𝐿𝑇𝐼 system is of finite duration, then the
system is called a finite-duration impulse response (or𝑭𝑰𝑹) filter. Hence for an
𝑭𝑰𝑹 filter ℎ(𝑛) = 0 for 𝑛 < 𝑛1 and for 𝑛 > 𝑛2.
 The difference equation that describes a causal FIR filter is:
𝑦(𝑛) =
𝑚=0
𝑀
𝑏 𝑚 𝑥 𝑛 − 𝑚
 Furthermore, ℎ(0) = 𝑏0 , ℎ(1) = 𝑏1, . . . , ℎ(𝑀) = 𝑏 𝑀, while all other ℎ(𝑛)’s are 0.
 FIR filters are also called Nonrecursive or moving average (MA) filters.
 In MATLAB 𝑭𝑰𝑹 filters are represented either as impulse response values {ℎ(𝑛)} or as
difference equation coefficients {𝑏 𝑚} and {𝑎0 = 1} .
 Therefore to implement 𝑭𝑰𝑹 filters, we can use either the 𝑐𝑜𝑛𝑣(𝑥, ℎ) function (and
its modification that we discussed) or the 𝑓𝑖𝑙𝑡𝑒𝑟(𝑏, 1, 𝑥) function.
 There is a difference in the outputs of these two implementations that should be
noted. The output sequence from the 𝑐𝑜𝑛𝑣(𝑥, ℎ) function has a longer length than
both the 𝑥(𝑛) and ℎ(𝑛) sequences. On the other hand, the output sequence from the
𝑓𝑖𝑙𝑡𝑒𝑟(𝑏, 1, 𝑥) function has exactly the same length as the input 𝑥(𝑛) sequence. In
practice (and especially for processing signals) the use of the filter function is
encouraged. 51
IIR Digital Filters
 If the impulse response of an LTI system is of infinite duration, then the system is
called an infinite-duration impulse response (or IIR) filter.
 The following part of the general IIR difference equation:
𝑛=0
𝑁
𝑎 𝑛 𝑦 𝑛 − 𝑚 = 𝑥(𝑛)
 Describe a recursive filter in which the output y(n) is recursively computed from its
previously computed values and is called an autoregressive (AR) filter. The impulse
response of such filter is of infinite duration and hence it represents an IIR filter.
 The general IIR difference equation is:
𝑛=0
𝑁
𝑎 𝑛 𝑦 𝑛 − 𝑚 =
𝑚=0
𝑀
𝑏 𝑚 𝑥 𝑛 − 𝑚
 It has two parts: an AR part and an MA part. Such an IIR filter is called an
autoregressive moving average, or an ARMA, filter. In MATLAB, IIR filters are
described by the difference equation coefficients {𝑏 𝑚} and {𝑎 𝑘} and are
implemented by the 𝑓𝑖𝑙𝑡𝑒𝑟(𝑏, 𝑎, 𝑥) function.
52
53

Contenu connexe

Tendances

Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORMZ TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORMTowfeeq Umar
 
SIGNAL OPERATIONS
SIGNAL OPERATIONSSIGNAL OPERATIONS
SIGNAL OPERATIONSmihir jain
 
Noise in AM systems.ppt
Noise in AM systems.pptNoise in AM systems.ppt
Noise in AM systems.pptinfomerlin
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filtersop205
 
discrete time signals and systems
 discrete time signals and systems  discrete time signals and systems
discrete time signals and systems Zlatan Ahmadovic
 
Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windowsSarang Joshi
 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingAmr E. Mohamed
 
Frequency modulation
Frequency modulationFrequency modulation
Frequency modulationAkanksha_Seth
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal ProcessingSandip Ladi
 
inverse z-transform ppt
inverse z-transform pptinverse z-transform ppt
inverse z-transform pptmihir jain
 
Fourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time SignalsFourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time SignalsJayanshu Gundaniya
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformAmr E. Mohamed
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequencySARITHA REDDY
 

Tendances (20)

Sampling
SamplingSampling
Sampling
 
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORMZ TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
Z TRANSFORM PROPERTIES AND INVERSE Z TRANSFORM
 
Properties of dft
Properties of dftProperties of dft
Properties of dft
 
SIGNAL OPERATIONS
SIGNAL OPERATIONSSIGNAL OPERATIONS
SIGNAL OPERATIONS
 
Noise in AM systems.ppt
Noise in AM systems.pptNoise in AM systems.ppt
Noise in AM systems.ppt
 
system properties
system propertiessystem properties
system properties
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
Design of FIR filters
Design of FIR filtersDesign of FIR filters
Design of FIR filters
 
discrete time signals and systems
 discrete time signals and systems  discrete time signals and systems
discrete time signals and systems
 
Fir filter design using windows
Fir filter design using windowsFir filter design using windows
Fir filter design using windows
 
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processingDsp 2018 foehu - lec 10 - multi-rate digital signal processing
Dsp 2018 foehu - lec 10 - multi-rate digital signal processing
 
Frequency modulation
Frequency modulationFrequency modulation
Frequency modulation
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
inverse z-transform ppt
inverse z-transform pptinverse z-transform ppt
inverse z-transform ppt
 
Fourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time SignalsFourier Series for Continuous Time & Discrete Time Signals
Fourier Series for Continuous Time & Discrete Time Signals
 
Fourier transforms
Fourier transforms Fourier transforms
Fourier transforms
 
Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
 
DSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-TransformDSP_FOEHU - MATLAB 03 - The z-Transform
DSP_FOEHU - MATLAB 03 - The z-Transform
 
Decimation in time and frequency
Decimation in time and frequencyDecimation in time and frequency
Decimation in time and frequency
 
convolution
convolutionconvolution
convolution
 

En vedette

Discrete-Time Signal Processing
Discrete-Time Signal ProcessingDiscrete-Time Signal Processing
Discrete-Time Signal Processinglancer350
 
Digital signal processing (2nd ed) (mitra) solution manual
Digital signal processing (2nd ed) (mitra) solution manualDigital signal processing (2nd ed) (mitra) solution manual
Digital signal processing (2nd ed) (mitra) solution manualRamesh Sundar
 
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U   Lec04 Discrete Time Signals & SystemsDsp U   Lec04 Discrete Time Signals & Systems
Dsp U Lec04 Discrete Time Signals & Systemstaha25
 
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...Amr E. Mohamed
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsAmr E. Mohamed
 
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...Amr E. Mohamed
 
SE2_Lec 22_Software Configuration Management
SE2_Lec 22_Software Configuration ManagementSE2_Lec 22_Software Configuration Management
SE2_Lec 22_Software Configuration ManagementAmr E. Mohamed
 
DSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignDSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignAmr E. Mohamed
 
DSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignDSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignAmr E. Mohamed
 
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications IDSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications IAmr E. Mohamed
 
SE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesSE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesAmr E. Mohamed
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Amr E. Mohamed
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningAmr E. Mohamed
 

En vedette (13)

Discrete-Time Signal Processing
Discrete-Time Signal ProcessingDiscrete-Time Signal Processing
Discrete-Time Signal Processing
 
Digital signal processing (2nd ed) (mitra) solution manual
Digital signal processing (2nd ed) (mitra) solution manualDigital signal processing (2nd ed) (mitra) solution manual
Digital signal processing (2nd ed) (mitra) solution manual
 
Dsp U Lec04 Discrete Time Signals & Systems
Dsp U   Lec04 Discrete Time Signals & SystemsDsp U   Lec04 Discrete Time Signals & Systems
Dsp U Lec04 Discrete Time Signals & Systems
 
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
 
Modern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI SystemsModern Control - Lec07 - State Space Modeling of LTI Systems
Modern Control - Lec07 - State Space Modeling of LTI Systems
 
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
Modern Control - Lec 04 - Analysis and Design of Control Systems using Root L...
 
SE2_Lec 22_Software Configuration Management
SE2_Lec 22_Software Configuration ManagementSE2_Lec 22_Software Configuration Management
SE2_Lec 22_Software Configuration Management
 
DSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter DesignDSP_FOEHU - Lec 10 - FIR Filter Design
DSP_FOEHU - Lec 10 - FIR Filter Design
 
DSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter DesignDSP_FOEHU - Lec 11 - IIR Filter Design
DSP_FOEHU - Lec 11 - IIR Filter Design
 
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications IDSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
DSP_FOEHU - Lec 13 - Digital Signal Processing Applications I
 
SE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use CasesSE18_Lec 09_UML Use Cases
SE18_Lec 09_UML Use Cases
 
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
Modern Control - Lec 05 - Analysis and Design of Control Systems using Freque...
 
Modern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID TuningModern Control - Lec 06 - PID Tuning
Modern Control - Lec 06 - PID Tuning
 

Similaire à DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems

DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier AnalysisDSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier AnalysisAmr E. Mohamed
 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)Ravikiran A
 
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptxdiscrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptxvimala elumalai
 
discrete time signals and systems
 discrete time signals and systems discrete time signals and systems
discrete time signals and systemsZlatan Ahmadovic
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal ProcessingPRABHAHARAN429
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)Amr E. Mohamed
 
Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems" Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems" M Reza Rahmati
 
Reachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical SystemsReachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical SystemsM Reza Rahmati
 
Z Transform And Inverse Z Transform - Signal And Systems
Z Transform And Inverse Z Transform - Signal And SystemsZ Transform And Inverse Z Transform - Signal And Systems
Z Transform And Inverse Z Transform - Signal And SystemsMr. RahüL YøGi
 
ELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docx
ELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docxELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docx
ELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docxtoltonkendal
 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODEKris014
 
DSP_DiscSignals_LinearS_150417.pptx
DSP_DiscSignals_LinearS_150417.pptxDSP_DiscSignals_LinearS_150417.pptx
DSP_DiscSignals_LinearS_150417.pptxHamedNassar5
 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Charlton Inao
 

Similaire à DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems (20)

DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier AnalysisDSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
DSP_FOEHU - MATLAB 02 - The Discrete-time Fourier Analysis
 
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
DSP Lab Manual (10ECL57) - VTU Syllabus (KSSEM)
 
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptxdiscrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
discrete-timesignalsandsystems1-150402120032-conversion-gate01.pptx
 
discrete time signals and systems
 discrete time signals and systems discrete time signals and systems
discrete time signals and systems
 
Digital Signal Processing
Digital Signal ProcessingDigital Signal Processing
Digital Signal Processing
 
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
DSP_FOEHU - MATLAB 04 - The Discrete Fourier Transform (DFT)
 
Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems" Reachability Analysis "Control Of Dynamical Non-Linear Systems"
Reachability Analysis "Control Of Dynamical Non-Linear Systems"
 
Reachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical SystemsReachability Analysis Control of Non-Linear Dynamical Systems
Reachability Analysis Control of Non-Linear Dynamical Systems
 
Z Transform And Inverse Z Transform - Signal And Systems
Z Transform And Inverse Z Transform - Signal And SystemsZ Transform And Inverse Z Transform - Signal And Systems
Z Transform And Inverse Z Transform - Signal And Systems
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 
Computer Network Homework Help
Computer Network Homework HelpComputer Network Homework Help
Computer Network Homework Help
 
Networking Assignment Help
Networking Assignment HelpNetworking Assignment Help
Networking Assignment Help
 
Parallel algorithm in linear algebra
Parallel algorithm in linear algebraParallel algorithm in linear algebra
Parallel algorithm in linear algebra
 
Chapter26
Chapter26Chapter26
Chapter26
 
ELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docx
ELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docxELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docx
ELEG 320L – Signals & Systems Laboratory Dr. Jibran Khan Yous.docx
 
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptx
 
MATLAB ODE
MATLAB ODEMATLAB ODE
MATLAB ODE
 
EPE821_Lecture3.pptx
EPE821_Lecture3.pptxEPE821_Lecture3.pptx
EPE821_Lecture3.pptx
 
DSP_DiscSignals_LinearS_150417.pptx
DSP_DiscSignals_LinearS_150417.pptxDSP_DiscSignals_LinearS_150417.pptx
DSP_DiscSignals_LinearS_150417.pptx
 
Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05Wk 6 part 2 non linearites and non linearization april 05
Wk 6 part 2 non linearites and non linearization april 05
 

Plus de Amr E. Mohamed

Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systemsAmr E. Mohamed
 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transformAmr E. Mohamed
 
Dcs lec01 - introduction to discrete-time control systems
Dcs   lec01 - introduction to discrete-time control systemsDcs   lec01 - introduction to discrete-time control systems
Dcs lec01 - introduction to discrete-time control systemsAmr E. Mohamed
 
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing ApplicationsDDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing ApplicationsAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignAmr E. Mohamed
 
SE2018_Lec-22_-Continuous-Integration-Tools
SE2018_Lec-22_-Continuous-Integration-ToolsSE2018_Lec-22_-Continuous-Integration-Tools
SE2018_Lec-22_-Continuous-Integration-ToolsAmr E. Mohamed
 
SE2018_Lec 21_ Software Configuration Management (SCM)
SE2018_Lec 21_ Software Configuration Management (SCM)SE2018_Lec 21_ Software Configuration Management (SCM)
SE2018_Lec 21_ Software Configuration Management (SCM)Amr E. Mohamed
 
SE2018_Lec 18_ Design Principles and Design Patterns
SE2018_Lec 18_ Design Principles and Design PatternsSE2018_Lec 18_ Design Principles and Design Patterns
SE2018_Lec 18_ Design Principles and Design PatternsAmr E. Mohamed
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - IntroductionAmr E. Mohamed
 
SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)Amr E. Mohamed
 
SE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingSE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital FiltersDSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital FiltersAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-TransformDSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-TransformAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time SignalsDSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time SignalsAmr E. Mohamed
 
SE2018_Lec 15_ Software Design
SE2018_Lec 15_ Software DesignSE2018_Lec 15_ Software Design
SE2018_Lec 15_ Software DesignAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingDSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingAmr E. Mohamed
 
DSP_2018_FOEHU - Lec 0 - Course Outlines
DSP_2018_FOEHU - Lec 0 - Course OutlinesDSP_2018_FOEHU - Lec 0 - Course Outlines
DSP_2018_FOEHU - Lec 0 - Course OutlinesAmr E. Mohamed
 

Plus de Amr E. Mohamed (20)

Dcs lec03 - z-analysis of discrete time control systems
Dcs   lec03 - z-analysis of discrete time control systemsDcs   lec03 - z-analysis of discrete time control systems
Dcs lec03 - z-analysis of discrete time control systems
 
Dcs lec02 - z-transform
Dcs   lec02 - z-transformDcs   lec02 - z-transform
Dcs lec02 - z-transform
 
Dcs lec01 - introduction to discrete-time control systems
Dcs   lec01 - introduction to discrete-time control systemsDcs   lec01 - introduction to discrete-time control systems
Dcs lec01 - introduction to discrete-time control systems
 
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing ApplicationsDDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
DDSP_2018_FOEHU - Lec 10 - Digital Signal Processing Applications
 
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter DesignDSP_2018_FOEHU - Lec 07 - IIR Filter Design
DSP_2018_FOEHU - Lec 07 - IIR Filter Design
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
 
SE2018_Lec 17_ Coding
SE2018_Lec 17_ CodingSE2018_Lec 17_ Coding
SE2018_Lec 17_ Coding
 
SE2018_Lec-22_-Continuous-Integration-Tools
SE2018_Lec-22_-Continuous-Integration-ToolsSE2018_Lec-22_-Continuous-Integration-Tools
SE2018_Lec-22_-Continuous-Integration-Tools
 
SE2018_Lec 21_ Software Configuration Management (SCM)
SE2018_Lec 21_ Software Configuration Management (SCM)SE2018_Lec 21_ Software Configuration Management (SCM)
SE2018_Lec 21_ Software Configuration Management (SCM)
 
SE2018_Lec 18_ Design Principles and Design Patterns
SE2018_Lec 18_ Design Principles and Design PatternsSE2018_Lec 18_ Design Principles and Design Patterns
SE2018_Lec 18_ Design Principles and Design Patterns
 
Selenium - Introduction
Selenium - IntroductionSelenium - Introduction
Selenium - Introduction
 
SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)SE2018_Lec 20_ Test-Driven Development (TDD)
SE2018_Lec 20_ Test-Driven Development (TDD)
 
SE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software TestingSE2018_Lec 19_ Software Testing
SE2018_Lec 19_ Software Testing
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
 
DSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital FiltersDSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital Filters
 
DSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-TransformDSP_2018_FOEHU - Lec 04 - The z-Transform
DSP_2018_FOEHU - Lec 04 - The z-Transform
 
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time SignalsDSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
DSP_2018_FOEHU - Lec 02 - Sampling of Continuous Time Signals
 
SE2018_Lec 15_ Software Design
SE2018_Lec 15_ Software DesignSE2018_Lec 15_ Software Design
SE2018_Lec 15_ Software Design
 
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal ProcessingDSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
 
DSP_2018_FOEHU - Lec 0 - Course Outlines
DSP_2018_FOEHU - Lec 0 - Course OutlinesDSP_2018_FOEHU - Lec 0 - Course Outlines
DSP_2018_FOEHU - Lec 0 - Course Outlines
 

Dernier

Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEselvakumar948
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxchumtiyababu
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdfKamal Acharya
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"mphochane1998
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersMairaAshraf6
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilVinayVitekari
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 

Dernier (20)

Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Verification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptxVerification of thevenin's theorem for BEEE Lab (1).pptx
Verification of thevenin's theorem for BEEE Lab (1).pptx
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Computer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to ComputersComputer Lecture 01.pptxIntroduction to Computers
Computer Lecture 01.pptxIntroduction to Computers
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 

DSP_FOEHU - MATLAB 01 - Discrete Time Signals and Systems

  • 3. Discrete-Time Signals  A discrete signal will be denoted by x(n), in which the variable n is integer- valued and represents discrete instances in time (Sequence of Number). 𝑥(𝑛) = { 𝑥(𝑛) } = { . . . , 𝑥( − 1), 𝑥(0), 𝑥(1), . . . }  where the up-arrow indicates the sample at n = 0.  In MATLAB we can represent a finite-duration sequence by a row vector of appropriate values.  For example, a sequence x(n) = { 2, 1, − 1, 0, 1, 4, 3, 7 } can be represented in MATLAB by  An arbitrary infinite-duration sequence cannot be represented in MATLAB due to the finite memory limitations. 3 ↑ ↑
  • 4. Types Of Sequences 1. Unit sample sequence:  For example, to implement  over the 𝑛1 ≤ 𝑛0 ≤ 𝑛2 interval, we will use the following MATLAB function. 4
  • 5. Types Of Sequences (Cont.) 2. Unit step sequence:  For example, to implement  over the 𝑛1 ≤ 𝑛0 ≤ 𝑛2 interval, we will use the following MATLAB function. 5
  • 6. Types Of Sequences (Cont.) 3. Real-valued exponential sequence:  For example, to generate 𝑥 𝑛 = 0.9 𝑛 , 0 ≤ 𝑛 ≤ 10, we will need the following MATLAB script: 6
  • 7. Types Of Sequences (Cont.) 4. Complex-valued exponential sequence:  where σ produces an attenuation (if <0) or amplification (if >0) and ω 0 is the frequency in radians.  For example, to generate 𝑥 𝑛 = 𝑒(2 + 𝑗3)𝑛 , 0 ≤ 𝑛 ≤ 10, we will need the following MATLAB script: 7
  • 8. Types Of Sequences (Cont.) 5. Sinusoidal sequence:  where A is an amplitude and θ0 is the phase in radians.  For example, to generate 𝑥 𝑛 = 3 𝑐𝑜𝑠 0.1𝜋𝑛 + 𝜋 3 + 2 𝑠𝑖𝑛( 0.5𝜋𝑛 ), 0 ≤ 𝑛 ≤ 10, we will need the following MATLAB script: 8
  • 9. Types Of Sequences (Cont.) 6. Random sequences:  Many practical sequences cannot be described by mathematical expressions like those above. These sequences are called random (or stochastic) sequences and are characterized by parameters of the associated probability density functions.  In MATLAB two types of (pseudo-) random sequences are available.  The rand(1,N) generates a length N random sequence whose elements are uniformly distributed between [0, 1].  The randn(1,N) generates a length N Gaussian random sequence with mean 0 and variance 1.  Other random sequences can be generated using transformations of the above functions. 9
  • 10. Types Of Sequences (Cont.) 7. Periodic sequence:  A sequence x(n) is periodic if x(n) = x(n + N), ∀n. The smallest integer N that satisfies this relation is called the fundamental period. We will use ˜x(n) to denote a periodic sequence.  To generate P periods of 𝑥(𝑛) from one period { 𝑥(𝑛), 0 ≤ 𝑛 ≤ 𝑁 − 1} ,we can copy 𝑥(𝑛) 𝑃 times:  But an elegant approach is to use MATLAB’s powerful indexing capabilities. 10
  • 11. Operations On Sequences 1. Signal addition:  This is a sample-by-sample addition given by  The following function, called the 𝑠𝑖𝑔𝑎𝑑𝑑 function, demonstrates these operations. 11
  • 12. Operations On Sequences (Cont.) 2. Signal multiplication:  This is a sample-by-sample (or “dot”) multiplication) given by This is a sample-by- sample addition given by  The following function, called the 𝑠𝑖𝑔𝑚𝑢𝑙𝑡 function, demonstrates these operations. 12
  • 13. Operations On Sequences (Cont.) 3. Scaling:  In this operation each sample is multiplied by a scalar α. 𝛼 { 𝑥(𝑛) } = { 𝛼𝑥(𝑛) }  An arithmetic operator (*) is used to implement the scaling operation in MATLAB. 13
  • 14. Operations On Sequences (Cont.) 4. Shifting:  In this operation, each sample of x(n) is shifted by an amount k to obtain a shifted sequence y(n). 𝑦(𝑛) = { 𝑥(𝑛 − 𝑘) }  If we let 𝑚 = 𝑛 − 𝑘, then 𝑛 = 𝑚 + 𝑘 and the above operation is given by 𝑦(𝑚 + 𝑘) = { 𝑥 (𝑚) }  This is shown in the function 𝑠𝑖𝑔𝑠ℎ𝑖𝑓𝑡. 14
  • 15. Operations On Sequences (Cont.) 5. Folding:  In this operation each sample of x(n) is flipped around n = 0 to obtain a folded sequence y(n). 𝑦(𝑛) = { 𝑥( − 𝑛) }  In MATLAB this operation is implemented by 𝑓𝑙𝑖𝑝𝑙𝑟(𝑥) function for sample values and by −𝑓𝑙𝑖𝑝𝑙𝑟(𝑛) function for sample positions as shown in the 𝑠𝑖𝑔𝑓𝑜𝑙𝑑 function. 15
  • 16. Operations On Sequences (Cont.) 6. Sample summation:  This operation differs from signal addition operation. It adds all sample values of 𝑥(𝑛) between 𝑛1 and 𝑛2.  It is implemented by the 𝑠𝑢𝑚(𝑥(𝑛1: 𝑛2)) function. 16
  • 17. Operations On Sequences (Cont.) 7. Sample products:  This operation also differs from signal multiplication operation. It multiplies all sample values of 𝑥(𝑛) between 𝑛1 and 𝑛2.This operation differs from signal addition operation. It adds all sample values of 𝑥(𝑛) between 𝑛1 and 𝑛2.  It is implemented by the 𝑝𝑟𝑜𝑑(𝑥(𝑛1: 𝑛2)) function. 17
  • 18. Operations On Sequences (Cont.) 8. Signal energy:  The energy of a sequence x(n) is given by  where superscript (∗) denotes the operation of complex conjugation. The energy of a finite-duration sequence 𝑥(𝑛) can be computed in MATLAB using 18
  • 19. OPERATIONS ON SEQUENCES (Cont.) 9. Signal power:  The average power of a periodic sequence 𝑥(𝑛) with fundamental period 𝑁 is given by 19
  • 21. EXAMPLE #1 - Solution 21
  • 22. EXAMPLE #1 - Solution 22
  • 23. EXAMPLE #1 - Solution 23
  • 24. EXAMPLE #1 - Solution 24 Note that over the given interval, the sequence ˜x (n) has four periods.
  • 26. EXAMPLE #2 - Solution 26
  • 28. EXAMPLE #3 - Solution 28
  • 29. Even and odd synthesis  A real-valued sequence x e (n) is called even (symmetric) if 𝑥 𝑒(−𝑛) = 𝑥 𝑒(𝑛)  Similarly, a real-valued sequence x o (n) is called odd (antisymmetric) if 𝑥 𝑜(−𝑛) = −𝑥 𝑜(𝑛)  Then any arbitrary real-valued sequence x(n) can be decomposed into its even and odd components 𝑥(𝑛) = 𝑥 𝑒(𝑛) + 𝑥 𝑒(𝑛)  where the even and odd parts are given by 𝑥 𝑒 𝑛 = 1 2 𝑥 𝑛 + 𝑥 −𝑛 𝑎𝑛𝑑 𝑥 𝑜(𝑛) = 1 2 [𝑥(𝑛) − 𝑥(−𝑛)] 29
  • 30. Even and odd synthesis  Using MATLAB operations discussed so far, we can obtain the following 𝑒𝑣𝑒𝑛𝑜𝑑𝑑 function. 30
  • 31. EXAMPLE #4 with Solution 31
  • 33. Discrete Time Systems  A discrete-time system (or discrete system for short) is described as an operator T[ · ] that takes a sequence x(n) (called excitation) and transforms it into another sequence y(n) (called response). That is, 𝑦(𝑛) = 𝑇[𝑥(𝑛)] 1. LINEAR SYSTEMS:  A discrete system T[ · ] is a linear operator L[ · ] if and only if L[ · ] satisfies the principle of superposition, namely, 𝐿 𝑎1 𝑥1 𝑛 + 𝑎2 𝑥2 𝑛 = 𝑎1 𝐿 𝑥1 𝑛 + 𝑎2 𝐿[𝑥2(𝑛)], ∀𝑎1, 𝑎2, 𝑥1 𝑛 , 𝑥1 𝑛 33
  • 34. Discrete Time Systems (Cont.) 2. Linear time-invariant (LTI) system:  A linear system in which an input-output pair, x(n) and y(n), is invariant to a shift k in time is called a linear time-invariant system i.e., 𝑦(𝑛) = 𝐿[𝑥(𝑛)] ⇒ 𝐿[𝑥(𝑛 − 𝑘)] = 𝑦(𝑛 − 𝑘)  For an LTI system the L[·] and the shifting operators are reversible as shown here.  Let x(n) and y(n) be the input-output pair of an LTI system. Then the output is given by the convolution: 𝑦 𝑛 = 𝐿𝑇𝐼 𝑥 𝑛 = 𝑥 𝑛 ∗ ℎ(𝑛) = 𝑘=−∞ ∞ 𝑥(𝑘)ℎ(𝑛 − 𝑘) 34
  • 35. Discrete Time Systems (Cont.) 3. Stability:  The primary reason for considering stability is to avoid building harmful systems or to avoid burnout or saturation in the system operation.  A system is said to be bounded-input bounded-output (BIBO) stable if every bounded input produces a bounded output. | 𝑥(𝑛) | < ∞ ⇒ | 𝑦(𝑛) | < ∞ , ∀ 𝑥, 𝑦  An LTI system is BIBO stable if and only if its impulse response is absolutely summable. 𝐵𝐼𝐵𝑂 𝑆𝑡𝑎𝑏𝑖𝑙𝑖𝑡𝑦 ⇐⇒ −∞ ∞ | ℎ(𝑛) | < ∞ 35
  • 36. Discrete Time Systems (Cont.) 4. Causality:  This important concept is necessary to make sure that systems can be built. A system is said to be causal if the output at index 𝑛0 depends only on the input up to and including the index 𝑛0; that is, the output does not depend on the future values of the input.  An LTI system is causal if and only if the impulse response ℎ(𝑛) = 0, 𝑛 < 0 36
  • 37. Convolution  MATLAB does provide a built-in function called conv that computes the convolution between two finite-duration sequences. The conv function assumes that the two sequences begin at n = 0 and is invoked by  Example #5:  Let the rectangular pulse 𝑥(𝑛) = 𝑢(𝑛) − 𝑢(𝑛 − 10) of Example 2.4 be an input to an LTI system with impulse response ℎ(𝑛) = (0.9) 𝑛 𝑢(𝑛) . Determine the output y(n).  Solution: 37
  • 38. Convolution (Cont.)  A simple modification of the conv function, called 𝑐𝑜𝑛𝑣_𝑚 , which performs the convolution of arbitrary support sequences can now be designed. 38
  • 39. Example #6  Given the following two sequences 𝑥 𝑛 = 3, 11, 7, 0, − 1, 4, 2 , − 3 ≤ 𝑛 ≤ 3; ℎ(𝑛) = [2, 3, 0, − 5, 2, 1], − 1 ≤ 𝑛 ≤ 4 determine the convolution y(n) = x(n) ∗ h(n).  Solution: 39 ↑ ↑
  • 40. Sequence Correlations Revisited  The crosscorrelation 𝑟𝑥𝑦(ℓ ) can be put in the form 𝑟𝑥𝑦(ℓ ) = 𝑦(ℓ) ∗ 𝑥(−ℓ)  The autocorrelation 𝑟𝑥𝑥(ℓ ) in the form 𝑟𝑥𝑥(ℓ ) = 𝑥(ℓ) ∗ 𝑥(−ℓ)  Therefore these correlations can be computed using the 𝑐𝑜𝑛𝑣_𝑚 function if sequences are of finite duration. 40
  • 41. Example #7  Let 𝑥(𝑛) = [3, 11, 7, 𝟎, − 1, 4, 2] be a prototype sequence, and let 𝑦(𝑛) be its noise-corrupted-and-shifted version 𝑦(𝑛) = 𝑥(𝑛 − 2) + 𝑤(𝑛) where w(n) is Gaussian sequence with mean 0 and variance 1. Compute the crosscorrelation between y(n) and x(n).  Solution:  let us compute the crosscorrelation using two different noise sequences. 41
  • 42. Example #7 - Solution 42 we observe that the crosscorrelation indeed peaks at ℓ = 2, which implies that y(n) is similar to x(n) shifted by 2. This approach can be used in applications like radar signal processing in identifying and localizing targets.
  • 43. Sequence Correlations Revisited  Note that the signal-processing toolbox in MATLAB also provides a function called xcorr for sequence correlation computations. In its simplest form.  computes the crosscorrelation between vectors x and y, while  computes the autocorrelation of vector x. It generates results that are identical to the one obtained from the proper use of the conv m function.  However, the 𝑥𝑐𝑜𝑟𝑟 function cannot provide the timing (or lag) information (as done by the 𝑐𝑜𝑛𝑣_𝑚 function), which then must be obtained by some other means. 43
  • 44. Difference Equations  An LTI discrete system can also be described by a linear constant coefficient difference equation of the form  If 𝑎 𝑁 ≠ 0, then the difference equation is of order 𝑁. This equation describes a recursive approach for computing the current output, given the input values and previously computed output values. In practice this equation is computed forward in time, from 𝑛 = −∞ to 𝑛 = ∞.  Therefore another form of this equation is 44
  • 45. Difference Equations (Cont.)  A solution to this equation can be obtained in the form 𝑦(𝑛) = 𝑦 𝐻(𝑛) + 𝑦 𝑃(𝑛)  The homogeneous part of the solution, 𝑦 𝐻 (𝑛) , is given by 𝑦 𝐻(𝑛) = 𝑘=1 𝑁 𝐶 𝑘 𝑧 𝑘 𝑛  where 𝑧 𝑘, 𝑘 = 1, . . . , 𝑁 are 𝑁 roots (also called natural frequencies) of the characteristic equation 0 𝑁 𝑎 𝑘 𝑧 𝑘 = 0  This characteristic equation is important in determining the stability of systems. If the roots 𝑧 𝑘 satisfy the condition |𝑧 𝑘| < 1, 𝑘 = 1, . . . , 𝑁 45
  • 46. MATLAB Implementation  A function called 𝑓𝑖𝑙𝑡𝑒𝑟 is available to solve difference equations numerically, given the input and the difference equation coefficients. In its simplest form this function is invoked by  where  are the coefficient arrays from the difference equation, and 𝑥 is the input sequence array. The output 𝑦 has the same length as input 𝑥. One must ensure that the coefficient 𝑎0 not be 𝑧𝑒𝑟𝑜.  To compute and plot impulse response, MATLAB provides the function 𝑖𝑚𝑝𝑧. When invoked by  fgdg 46
  • 47. Example #8  Given the following difference equation 𝑦(𝑛) − 𝑦(𝑛 − 1) + 0.9𝑦(𝑛 − 2) = 𝑥(𝑛); ∀ 𝑛 a. Calculate and plot the impulse response ℎ(𝑛) at 𝑛 = − 20, . . . , 100. b. Calculate and plot the unit step response 𝑠(𝑛) at 𝑛 = − 20, . . . , 100. c. Is the system specified by ℎ(𝑛) stable? 47
  • 48. Example #8 - Solution  From the given difference equation the coefficient arrays are  a. MATLAB script:  b. MATLAB script: 48
  • 49. Example #8 – Solution (Cont.)  c. To determine the stability of the system, we have to determine h(n) for all n. Although we have not described a method to solve the difference equation,  we can use the plot of the impulse response to observe that h(n) is practically zero for 𝑛 > 120. Hence the sum |ℎ(𝑛)| can be determined from MATLAB using • which implies that the system is stable.  An alternate approach using MATLAB’s roots function. • Since the magnitudes of both roots are less than one, the system is stable. 49
  • 50. Digital Filters  Filter is a generic name that means a linear time-invariant system designed for a specific job of frequency selection or frequency discrimination. Hence discrete-time LTI systems are also called digital filters. There are two types of digital filters.  FIR  IIR 50
  • 51. FIR Digital Filters  If the unit impulse response of an 𝐿𝑇𝐼 system is of finite duration, then the system is called a finite-duration impulse response (or𝑭𝑰𝑹) filter. Hence for an 𝑭𝑰𝑹 filter ℎ(𝑛) = 0 for 𝑛 < 𝑛1 and for 𝑛 > 𝑛2.  The difference equation that describes a causal FIR filter is: 𝑦(𝑛) = 𝑚=0 𝑀 𝑏 𝑚 𝑥 𝑛 − 𝑚  Furthermore, ℎ(0) = 𝑏0 , ℎ(1) = 𝑏1, . . . , ℎ(𝑀) = 𝑏 𝑀, while all other ℎ(𝑛)’s are 0.  FIR filters are also called Nonrecursive or moving average (MA) filters.  In MATLAB 𝑭𝑰𝑹 filters are represented either as impulse response values {ℎ(𝑛)} or as difference equation coefficients {𝑏 𝑚} and {𝑎0 = 1} .  Therefore to implement 𝑭𝑰𝑹 filters, we can use either the 𝑐𝑜𝑛𝑣(𝑥, ℎ) function (and its modification that we discussed) or the 𝑓𝑖𝑙𝑡𝑒𝑟(𝑏, 1, 𝑥) function.  There is a difference in the outputs of these two implementations that should be noted. The output sequence from the 𝑐𝑜𝑛𝑣(𝑥, ℎ) function has a longer length than both the 𝑥(𝑛) and ℎ(𝑛) sequences. On the other hand, the output sequence from the 𝑓𝑖𝑙𝑡𝑒𝑟(𝑏, 1, 𝑥) function has exactly the same length as the input 𝑥(𝑛) sequence. In practice (and especially for processing signals) the use of the filter function is encouraged. 51
  • 52. IIR Digital Filters  If the impulse response of an LTI system is of infinite duration, then the system is called an infinite-duration impulse response (or IIR) filter.  The following part of the general IIR difference equation: 𝑛=0 𝑁 𝑎 𝑛 𝑦 𝑛 − 𝑚 = 𝑥(𝑛)  Describe a recursive filter in which the output y(n) is recursively computed from its previously computed values and is called an autoregressive (AR) filter. The impulse response of such filter is of infinite duration and hence it represents an IIR filter.  The general IIR difference equation is: 𝑛=0 𝑁 𝑎 𝑛 𝑦 𝑛 − 𝑚 = 𝑚=0 𝑀 𝑏 𝑚 𝑥 𝑛 − 𝑚  It has two parts: an AR part and an MA part. Such an IIR filter is called an autoregressive moving average, or an ARMA, filter. In MATLAB, IIR filters are described by the difference equation coefficients {𝑏 𝑚} and {𝑎 𝑘} and are implemented by the 𝑓𝑖𝑙𝑡𝑒𝑟(𝑏, 𝑎, 𝑥) function. 52
  • 53. 53