SlideShare a Scribd company logo
1 of 6
Download to read offline
Stochastic Section # 4
Random Signals & Random Signal Models
Eslam Adel
March 21, 2018
1 Random Signals
1. Random signal is a sequence of random variables [x1, x2, x3, . . . , xN ].
2. Mean of the random signal E[x] can be approximated as
E[x] =
1
N
N−1
i=0
xi (1)
3. Sample Autocorrelation Rxnxn+k
is defined as:
Rxnxn+k
=
1
N
N−1−k
i=0
xi+kxi k = 0, 1, 2, . . . N (2)
4. We always assume that the signal is zero mean. If the signal is not zero mean, subtract the mean from it.
x → x − E[x]
Note: for zero mean signal Rxx = σ2
5. For random signal it is assumed that it is a wide sense stationary signal (WSS) Where :
1. E[x] = constant
2. Rxn+kxn = E[xn+kxn] = Rxx(k) (not a function of time variable n)
6. Stationarity means that for different windows of the same signal, statistical parameters are almost the
same.
7. For WSS signal Rxx(k) = Rxx(−k)
1.1 Example
Assume signal x[n] = [1, 2, 3, 4, 5]
Evaluate the following:
1. Rxx(0)
2. Rxx(−1)
3. Rxx(1)
Solution :
At first make sure that signal is zero mean
m = 3 so x[n] will be
x[n] = [−2, −1, 0, 1, 2]
1
1. Rxx(0)
Rxx(0) = 1
5 [−2, −1, 0, 2, 1] × [−2, −1, 0, 1, 2] = 10
5 = 2
2. Rxx(1)
Rxx(1) = 1
5 [−2, −1, 0, 2, 1] × [0, −2, −1, 0, 1] = 4
5
3. Rxx(−1)
Rxx(−1) = 1
5 [−2, −1, 0, 2, 1] × [−1, 0, 1, 2, 0] = 4
5
Note:
For WSS signal Rxx(k) = Rxx(−k)
1.2 Problem 1.25
A random signal x(n) is defined as a linear function of time by
x(n) = an + b (3)
where a and b are independent zero-mean gaussian random variables of variances σ2
a and σ2
b , respectively.
1. Compute E[x(n)]2
.
2. Is x(n) a stationary process? Explain.
3. For each fixed n, compute the probability density p(x(n))
Solution :
1. E[x(n)]2
E[x(n)2
] = E[(an + b)2
] = E[a2
n2
+ 2anb + b2
]
E[x(n)2
] = n2
E[a2
] + E[b2
] + 2nE[ab]
E[a2
] = σ2
a − 0 = σ2
a,E[b2
] = σ2
b and E[ab] = E[a]E[b] = 0:
E[x(n)2
] = n2
σ2
a + σ2
b
2. To check a signal is WSS or not
1. E[x] = 0 = const So we have to check the correlation
2. Rxx
Rxn+kxn
= E[xn+kxn] = E[(a(n + k) + b)(an + b)] = n(n + k)E[a2
] + E[b2
]
Rxn+kxn
= n(n + k)σ2
a + σ2
b
Rxx(k) is a function in time variable So x(n) is not WSS
3. p(x(n))
x(n) = an + b where a ∼ N(0, σ2
a) and b ∼ N(0, σ2
b )
So x ∼ N(0, σ2
x) and σ2
x = E[x2
] − m2
x = n2
σ2
a + σ2
b
p(x(n)) = 1√
2πσx
e
−x2
2σ2
x
2
2 Random Signal Models
The idea is that I don’t need to store the whole signal. I can model it and store only model parameters. Then
I can genrate my signal again using random signal generator and stored model. see figure 1
Applications :
1. Signal synthesis :
for example speech synthesis.
2. Classification :
Model parameters are considered as feature vector that used in classification process of different signals.
3. Data Compression
For data transmission, no bandwidth for transmission of all data. Only model parameters are transmitted
and signal will be recovered from model at the reciever.
Figure 1: General Block Diagram for signal modeling
2.1 Moving Average Model (MA)
X(Z) = C(Z) (Z)
Where (Z) is uncorrelated white gaussian noise (WGN)
In time domain
x(n) = N−1
i=0 cn−i i
2.2 Auto Regressive Model (AR)
X(Z) = b0
A(Z) (Z)
In time domain
N−1
i=0 an−ixi = b0 (n)
2.3 Auto Regressive Moving Average Model (ARMA)
X(Z) = B(Z)
A(Z) (Z)
In time domain
N−1
i=0 an−ixi =
N−1
i=0 bn−i i
3
2.4 Problem 1.30
A random signal yn is generated by sending unit-variance zero-mean white noise n through the filters defined
by the following difference equations:
1. yn = −0.9yn−1 + n
2. yn = 0.9yn−1 + n + n−1
3. yn = n + 2 n−1 + n−2
4. yn = −0.81yn−2 + n
5. yn = 0.1yn−1 + 0.72yn−2 + n − 2 n−1 + n−2
a) For each case, determine the transfer function of the filter, decide whether the model is ARMA, MA, or
AR.
b) Write explicitly the power spectrum Syy(w)
Solution:
1. Taking Z transform for both sides
Y (Z) = −0.9Y (Z)Z−1
+ (Z)
(1 + 0.9Z−1
)Y (Z) = (Z)
Y (Z) = 1
1+0.9Z−1 (Z)
So the transfer function is 1
1+0.9Z−1
Model type is AR.
Power Spectrum Syy(w) = 1
1+0.9e−jw
2
2. Taking Z transform for both sides
Y (Z) = 0.9Y (Z)Z−1
+ (Z) + (Z)Z−1
(1 − 0.9Z−1
)Y (Z) = (1 + Z−1
) (Z)
Y (Z) = 1+Z−1
1−0.9Z−1 (Z)
So the transfer function is 1+Z−1
1−0.9Z−1
Model type is ARMA.
Power Spectrum Syy(w) = 1+e−jw
1−0.9e−jw
2
3. Taking Z transform for both sides
Y (Z) = (Z) + 2 (Z)Z−1
+ (Z)Z−2
Y (Z) = (1 + 2Z−1
+ Z−2
) (Z)
So the transfer function is 1 + 2Z−1
+ Z−2
Model type is MA.
Power Spectrum Syy(w) = 1 + 2e−jw
+ e−2jw
2
4. Solve as above
5. Solve as above
4
Figure 2: Linear Estimation of signal
3 Linear Estimation of Signal
What’s beyond building signal model? We have to determine model parameters. But How to select them ?.
There is different ways to determine model parameters. Different methods are proposed. We will have two of
them.
So the case now is that we have a signal x that is changed due to noise to be another signal y. We applied
our model on y to estimate x so we got ˜x. see figure 2
3.1 Maximum Likelihood Method (ML)
The idea is to maximize the joint probability function of all random variables f(x1, x2, . . . , xN )
Applying this on first order autoregressive model AR(1)
X(Z) = 1
1−aZ−1 (Z)
model parameters are a and σ2
Solution will be :
a =
N−1
n=1 xnxn−1
N−1
n=1 x2
n−1
σ2
= 1
N
N−1
n=1 (x(n) − ax(n − 1))
3.2 Mean Square Error Method (MS)
Error is defined as :
e = x − ˜x
So the mean square error will be
E[(x − ˜x)2
]
to minimize the error differentiation of MSe with respect to model parameters must be zero.
Lets see an example:
3.2.1 Example 1
Assume
˜x = ay
Determine value of a that minimize the mean square error.
Solution:
MSe = E[e2
] = E[(x − ˜x)2
] = E[(x − ay)2
]
∂MSe
∂a = 0
E[2(x − ay) × −y] = 0
−E[xy] + aE[y2
] = 0
a = E[xy]
E[y2]
a =
Rxy(0)
Ryy(0)
5
3.2.2 Example 2
Given
˜x = ay(n) + by(n − 1)
Determine values of a and b to minimize the mean square error.
Solution:
MSe = E[e2
] = E[(x − ˜x)2
] = E[(x − ayn − byn−1)2
]
∂MSe
∂a = 0
E[2(x − ayn − byn−1) × −yn] = 0
−E[xy] + aE[y2
] + bE[yn−1yn] = 0
aRyy(0) + bRyy(1) = Rxy(0) (4)
Similarly for b
∂MSe
∂b = 0
E[2(x − ayn − byn−1) × −yn−1] = 0
−E[xyn−1] + aE[y2
ny2
n−1] + bE[y2
n−1] = 0
aRyy(1) + bRyy(0) = Rxy(1) (5)
We can put it in matrix form
Ryy(0) Ryy(1)
Ryy(1) Ryy(0)
a
b
=
Rxy(0)
Rxy(1)
(6)
Finally
a
b
=
Ryy(0) Ryy(1)
Ryy(1) Ryy(0)
−1
Rxy(0)
Rxy(1)
(7)
6

More Related Content

What's hot

2012 mdsp pr13 support vector machine
2012 mdsp pr13 support vector machine2012 mdsp pr13 support vector machine
2012 mdsp pr13 support vector machinenozomuhamada
 
2012 mdsp pr09 pca lda
2012 mdsp pr09 pca lda2012 mdsp pr09 pca lda
2012 mdsp pr09 pca ldanozomuhamada
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative methodLuckshay Batra
 
short course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatisticsshort course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatisticsAmro Elfeki
 
Mixed Spectra for Stable Signals from Discrete Observations
Mixed Spectra for Stable Signals from Discrete ObservationsMixed Spectra for Stable Signals from Discrete Observations
Mixed Spectra for Stable Signals from Discrete Observationssipij
 
Circular Convolution
Circular ConvolutionCircular Convolution
Circular ConvolutionSarang Joshi
 
Convolution and FFT
Convolution and FFTConvolution and FFT
Convolution and FFTChenghao Jin
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference FormulaJas Singh Bhasin
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical MethodsTeja Ande
 
Computer vision 3 4
Computer vision 3 4Computer vision 3 4
Computer vision 3 4sachinmore76
 
Lecture 3: Stochastic Hydrology
Lecture 3: Stochastic HydrologyLecture 3: Stochastic Hydrology
Lecture 3: Stochastic HydrologyAmro Elfeki
 
Operation research - the revised simplex method
Operation research - the revised simplex methodOperation research - the revised simplex method
Operation research - the revised simplex method2013901097
 
2012 mdsp pr06  hmm
2012 mdsp pr06  hmm2012 mdsp pr06  hmm
2012 mdsp pr06  hmmnozomuhamada
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolationVISHAL DONGA
 

What's hot (20)

勾配法
勾配法勾配法
勾配法
 
2012 mdsp pr13 support vector machine
2012 mdsp pr13 support vector machine2012 mdsp pr13 support vector machine
2012 mdsp pr13 support vector machine
 
2012 mdsp pr09 pca lda
2012 mdsp pr09 pca lda2012 mdsp pr09 pca lda
2012 mdsp pr09 pca lda
 
Jacobi iterative method
Jacobi iterative methodJacobi iterative method
Jacobi iterative method
 
short course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatisticsshort course on Subsurface stochastic modelling and geostatistics
short course on Subsurface stochastic modelling and geostatistics
 
Krishna
KrishnaKrishna
Krishna
 
Mixed Spectra for Stable Signals from Discrete Observations
Mixed Spectra for Stable Signals from Discrete ObservationsMixed Spectra for Stable Signals from Discrete Observations
Mixed Spectra for Stable Signals from Discrete Observations
 
Circular Convolution
Circular ConvolutionCircular Convolution
Circular Convolution
 
Convolution and FFT
Convolution and FFTConvolution and FFT
Convolution and FFT
 
21 4 ztransform
21 4 ztransform21 4 ztransform
21 4 ztransform
 
Operations Research - The Two Phase Method
Operations Research - The Two Phase MethodOperations Research - The Two Phase Method
Operations Research - The Two Phase Method
 
Newton’s Divided Difference Formula
Newton’s Divided Difference FormulaNewton’s Divided Difference Formula
Newton’s Divided Difference Formula
 
Numerical Methods
Numerical MethodsNumerical Methods
Numerical Methods
 
Computer vision 3 4
Computer vision 3 4Computer vision 3 4
Computer vision 3 4
 
Lecture 3: Stochastic Hydrology
Lecture 3: Stochastic HydrologyLecture 3: Stochastic Hydrology
Lecture 3: Stochastic Hydrology
 
Unit 3
Unit 3Unit 3
Unit 3
 
Operation research - the revised simplex method
Operation research - the revised simplex methodOperation research - the revised simplex method
Operation research - the revised simplex method
 
2012 mdsp pr06  hmm
2012 mdsp pr06  hmm2012 mdsp pr06  hmm
2012 mdsp pr06  hmm
 
Operations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simpOperations research 1_the_two-phase_simp
Operations research 1_the_two-phase_simp
 
Newton divided difference interpolation
Newton divided difference interpolationNewton divided difference interpolation
Newton divided difference interpolation
 

Similar to Section4 stochastic

Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...Tomoya Murata
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionPedro222284
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniquesKrishna Gali
 
Optimal multi-configuration approximation of an N-fermion wave function
 Optimal multi-configuration approximation of an N-fermion wave function Optimal multi-configuration approximation of an N-fermion wave function
Optimal multi-configuration approximation of an N-fermion wave functionjiang-min zhang
 
Introduction to Diffusion Monte Carlo
Introduction to Diffusion Monte CarloIntroduction to Diffusion Monte Carlo
Introduction to Diffusion Monte CarloClaudio Attaccalite
 
Numerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equationNumerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equationMohamed Ramadan
 
Z transform and Properties of Z Transform
Z transform and Properties of Z TransformZ transform and Properties of Z Transform
Z transform and Properties of Z TransformAnujKumar734472
 
Constant strain triangular
Constant strain triangular Constant strain triangular
Constant strain triangular rahul183
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life OlooPundit
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component AnalysisSumit Singh
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motionJa-Keoung Koo
 
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...Shizuoka Inst. Science and Tech.
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Fabian Pedregosa
 

Similar to Section4 stochastic (20)

Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
Doubly Accelerated Stochastic Variance Reduced Gradient Methods for Regulariz...
 
The Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability DistributionThe Multivariate Gaussian Probability Distribution
The Multivariate Gaussian Probability Distribution
 
Integration techniques
Integration techniquesIntegration techniques
Integration techniques
 
Optimal multi-configuration approximation of an N-fermion wave function
 Optimal multi-configuration approximation of an N-fermion wave function Optimal multi-configuration approximation of an N-fermion wave function
Optimal multi-configuration approximation of an N-fermion wave function
 
Introduction to Diffusion Monte Carlo
Introduction to Diffusion Monte CarloIntroduction to Diffusion Monte Carlo
Introduction to Diffusion Monte Carlo
 
Dsp3
Dsp3Dsp3
Dsp3
 
Numerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equationNumerical solution of the Schr¨odinger equation
Numerical solution of the Schr¨odinger equation
 
Z transform and Properties of Z Transform
Z transform and Properties of Z TransformZ transform and Properties of Z Transform
Z transform and Properties of Z Transform
 
lec z-transform.ppt
lec z-transform.pptlec z-transform.ppt
lec z-transform.ppt
 
Constant strain triangular
Constant strain triangular Constant strain triangular
Constant strain triangular
 
Applications of Differential Calculus in real life
Applications of Differential Calculus in real life Applications of Differential Calculus in real life
Applications of Differential Calculus in real life
 
Principal Component Analysis
Principal Component AnalysisPrincipal Component Analysis
Principal Component Analysis
 
Section3 stochastic
Section3 stochasticSection3 stochastic
Section3 stochastic
 
Journey to structure from motion
Journey to structure from motionJourney to structure from motion
Journey to structure from motion
 
Imc2016 day2-solutions
Imc2016 day2-solutionsImc2016 day2-solutions
Imc2016 day2-solutions
 
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
Talk at SciCADE2013 about "Accelerated Multiple Precision ODE solver base on ...
 
Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3Random Matrix Theory and Machine Learning - Part 3
Random Matrix Theory and Machine Learning - Part 3
 
Manual solucoes ex_extras
Manual solucoes ex_extrasManual solucoes ex_extras
Manual solucoes ex_extras
 
Manual solucoes ex_extras
Manual solucoes ex_extrasManual solucoes ex_extras
Manual solucoes ex_extras
 
Manual solucoes ex_extras
Manual solucoes ex_extrasManual solucoes ex_extras
Manual solucoes ex_extras
 

More from cairo university

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedcairo university
 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devicescairo university
 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitscairo university
 
Tocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xTocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xcairo university
 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitscairo university
 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...cairo university
 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuitscairo university
 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuitscairo university
 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuitscairo university
 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency responsecairo university
 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revisioncairo university
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01cairo university
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01cairo university
 

More from cairo university (20)

Tocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extendedTocci chapter 13 applications of programmable logic devices extended
Tocci chapter 13 applications of programmable logic devices extended
 
Tocci chapter 12 memory devices
Tocci chapter 12 memory devicesTocci chapter 12 memory devices
Tocci chapter 12 memory devices
 
Tocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuitsTocci ch 9 msi logic circuits
Tocci ch 9 msi logic circuits
 
Tocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified xTocci ch 7 counters and registers modified x
Tocci ch 7 counters and registers modified x
 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
 
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
Tocci ch 3 5 boolean algebra, logic gates, combinational circuits, f fs, - re...
 
A15 sedra ch 15 memory circuits
A15  sedra ch 15 memory circuitsA15  sedra ch 15 memory circuits
A15 sedra ch 15 memory circuits
 
A14 sedra ch 14 advanced mos and bipolar logic circuits
A14  sedra ch 14 advanced mos and bipolar logic circuitsA14  sedra ch 14 advanced mos and bipolar logic circuits
A14 sedra ch 14 advanced mos and bipolar logic circuits
 
A13 sedra ch 13 cmos digital logic circuits
A13  sedra ch 13 cmos digital logic circuitsA13  sedra ch 13 cmos digital logic circuits
A13 sedra ch 13 cmos digital logic circuits
 
A09 sedra ch 9 frequency response
A09  sedra ch 9 frequency responseA09  sedra ch 9 frequency response
A09 sedra ch 9 frequency response
 
5 sedra ch 05 mosfet.ppsx
5  sedra ch 05  mosfet.ppsx5  sedra ch 05  mosfet.ppsx
5 sedra ch 05 mosfet.ppsx
 
5 sedra ch 05 mosfet
5  sedra ch 05  mosfet5  sedra ch 05  mosfet
5 sedra ch 05 mosfet
 
5 sedra ch 05 mosfet revision
5  sedra ch 05  mosfet revision5  sedra ch 05  mosfet revision
5 sedra ch 05 mosfet revision
 
Fields Lec 2
Fields Lec 2Fields Lec 2
Fields Lec 2
 
Fields Lec 1
Fields Lec 1Fields Lec 1
Fields Lec 1
 
Fields Lec 5&6
Fields Lec 5&6Fields Lec 5&6
Fields Lec 5&6
 
Fields Lec 4
Fields Lec 4Fields Lec 4
Fields Lec 4
 
Fields Lec 3
Fields Lec 3Fields Lec 3
Fields Lec 3
 
Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01Lecture 2 (system overview of c8051 f020) rv01
Lecture 2 (system overview of c8051 f020) rv01
 
Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01Lecture 1 (course overview and 8051 architecture) rv01
Lecture 1 (course overview and 8051 architecture) rv01
 

Recently uploaded

Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...Call girls in Ahmedabad High profile
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 

Section4 stochastic

  • 1. Stochastic Section # 4 Random Signals & Random Signal Models Eslam Adel March 21, 2018 1 Random Signals 1. Random signal is a sequence of random variables [x1, x2, x3, . . . , xN ]. 2. Mean of the random signal E[x] can be approximated as E[x] = 1 N N−1 i=0 xi (1) 3. Sample Autocorrelation Rxnxn+k is defined as: Rxnxn+k = 1 N N−1−k i=0 xi+kxi k = 0, 1, 2, . . . N (2) 4. We always assume that the signal is zero mean. If the signal is not zero mean, subtract the mean from it. x → x − E[x] Note: for zero mean signal Rxx = σ2 5. For random signal it is assumed that it is a wide sense stationary signal (WSS) Where : 1. E[x] = constant 2. Rxn+kxn = E[xn+kxn] = Rxx(k) (not a function of time variable n) 6. Stationarity means that for different windows of the same signal, statistical parameters are almost the same. 7. For WSS signal Rxx(k) = Rxx(−k) 1.1 Example Assume signal x[n] = [1, 2, 3, 4, 5] Evaluate the following: 1. Rxx(0) 2. Rxx(−1) 3. Rxx(1) Solution : At first make sure that signal is zero mean m = 3 so x[n] will be x[n] = [−2, −1, 0, 1, 2] 1
  • 2. 1. Rxx(0) Rxx(0) = 1 5 [−2, −1, 0, 2, 1] × [−2, −1, 0, 1, 2] = 10 5 = 2 2. Rxx(1) Rxx(1) = 1 5 [−2, −1, 0, 2, 1] × [0, −2, −1, 0, 1] = 4 5 3. Rxx(−1) Rxx(−1) = 1 5 [−2, −1, 0, 2, 1] × [−1, 0, 1, 2, 0] = 4 5 Note: For WSS signal Rxx(k) = Rxx(−k) 1.2 Problem 1.25 A random signal x(n) is defined as a linear function of time by x(n) = an + b (3) where a and b are independent zero-mean gaussian random variables of variances σ2 a and σ2 b , respectively. 1. Compute E[x(n)]2 . 2. Is x(n) a stationary process? Explain. 3. For each fixed n, compute the probability density p(x(n)) Solution : 1. E[x(n)]2 E[x(n)2 ] = E[(an + b)2 ] = E[a2 n2 + 2anb + b2 ] E[x(n)2 ] = n2 E[a2 ] + E[b2 ] + 2nE[ab] E[a2 ] = σ2 a − 0 = σ2 a,E[b2 ] = σ2 b and E[ab] = E[a]E[b] = 0: E[x(n)2 ] = n2 σ2 a + σ2 b 2. To check a signal is WSS or not 1. E[x] = 0 = const So we have to check the correlation 2. Rxx Rxn+kxn = E[xn+kxn] = E[(a(n + k) + b)(an + b)] = n(n + k)E[a2 ] + E[b2 ] Rxn+kxn = n(n + k)σ2 a + σ2 b Rxx(k) is a function in time variable So x(n) is not WSS 3. p(x(n)) x(n) = an + b where a ∼ N(0, σ2 a) and b ∼ N(0, σ2 b ) So x ∼ N(0, σ2 x) and σ2 x = E[x2 ] − m2 x = n2 σ2 a + σ2 b p(x(n)) = 1√ 2πσx e −x2 2σ2 x 2
  • 3. 2 Random Signal Models The idea is that I don’t need to store the whole signal. I can model it and store only model parameters. Then I can genrate my signal again using random signal generator and stored model. see figure 1 Applications : 1. Signal synthesis : for example speech synthesis. 2. Classification : Model parameters are considered as feature vector that used in classification process of different signals. 3. Data Compression For data transmission, no bandwidth for transmission of all data. Only model parameters are transmitted and signal will be recovered from model at the reciever. Figure 1: General Block Diagram for signal modeling 2.1 Moving Average Model (MA) X(Z) = C(Z) (Z) Where (Z) is uncorrelated white gaussian noise (WGN) In time domain x(n) = N−1 i=0 cn−i i 2.2 Auto Regressive Model (AR) X(Z) = b0 A(Z) (Z) In time domain N−1 i=0 an−ixi = b0 (n) 2.3 Auto Regressive Moving Average Model (ARMA) X(Z) = B(Z) A(Z) (Z) In time domain N−1 i=0 an−ixi = N−1 i=0 bn−i i 3
  • 4. 2.4 Problem 1.30 A random signal yn is generated by sending unit-variance zero-mean white noise n through the filters defined by the following difference equations: 1. yn = −0.9yn−1 + n 2. yn = 0.9yn−1 + n + n−1 3. yn = n + 2 n−1 + n−2 4. yn = −0.81yn−2 + n 5. yn = 0.1yn−1 + 0.72yn−2 + n − 2 n−1 + n−2 a) For each case, determine the transfer function of the filter, decide whether the model is ARMA, MA, or AR. b) Write explicitly the power spectrum Syy(w) Solution: 1. Taking Z transform for both sides Y (Z) = −0.9Y (Z)Z−1 + (Z) (1 + 0.9Z−1 )Y (Z) = (Z) Y (Z) = 1 1+0.9Z−1 (Z) So the transfer function is 1 1+0.9Z−1 Model type is AR. Power Spectrum Syy(w) = 1 1+0.9e−jw 2 2. Taking Z transform for both sides Y (Z) = 0.9Y (Z)Z−1 + (Z) + (Z)Z−1 (1 − 0.9Z−1 )Y (Z) = (1 + Z−1 ) (Z) Y (Z) = 1+Z−1 1−0.9Z−1 (Z) So the transfer function is 1+Z−1 1−0.9Z−1 Model type is ARMA. Power Spectrum Syy(w) = 1+e−jw 1−0.9e−jw 2 3. Taking Z transform for both sides Y (Z) = (Z) + 2 (Z)Z−1 + (Z)Z−2 Y (Z) = (1 + 2Z−1 + Z−2 ) (Z) So the transfer function is 1 + 2Z−1 + Z−2 Model type is MA. Power Spectrum Syy(w) = 1 + 2e−jw + e−2jw 2 4. Solve as above 5. Solve as above 4
  • 5. Figure 2: Linear Estimation of signal 3 Linear Estimation of Signal What’s beyond building signal model? We have to determine model parameters. But How to select them ?. There is different ways to determine model parameters. Different methods are proposed. We will have two of them. So the case now is that we have a signal x that is changed due to noise to be another signal y. We applied our model on y to estimate x so we got ˜x. see figure 2 3.1 Maximum Likelihood Method (ML) The idea is to maximize the joint probability function of all random variables f(x1, x2, . . . , xN ) Applying this on first order autoregressive model AR(1) X(Z) = 1 1−aZ−1 (Z) model parameters are a and σ2 Solution will be : a = N−1 n=1 xnxn−1 N−1 n=1 x2 n−1 σ2 = 1 N N−1 n=1 (x(n) − ax(n − 1)) 3.2 Mean Square Error Method (MS) Error is defined as : e = x − ˜x So the mean square error will be E[(x − ˜x)2 ] to minimize the error differentiation of MSe with respect to model parameters must be zero. Lets see an example: 3.2.1 Example 1 Assume ˜x = ay Determine value of a that minimize the mean square error. Solution: MSe = E[e2 ] = E[(x − ˜x)2 ] = E[(x − ay)2 ] ∂MSe ∂a = 0 E[2(x − ay) × −y] = 0 −E[xy] + aE[y2 ] = 0 a = E[xy] E[y2] a = Rxy(0) Ryy(0) 5
  • 6. 3.2.2 Example 2 Given ˜x = ay(n) + by(n − 1) Determine values of a and b to minimize the mean square error. Solution: MSe = E[e2 ] = E[(x − ˜x)2 ] = E[(x − ayn − byn−1)2 ] ∂MSe ∂a = 0 E[2(x − ayn − byn−1) × −yn] = 0 −E[xy] + aE[y2 ] + bE[yn−1yn] = 0 aRyy(0) + bRyy(1) = Rxy(0) (4) Similarly for b ∂MSe ∂b = 0 E[2(x − ayn − byn−1) × −yn−1] = 0 −E[xyn−1] + aE[y2 ny2 n−1] + bE[y2 n−1] = 0 aRyy(1) + bRyy(0) = Rxy(1) (5) We can put it in matrix form Ryy(0) Ryy(1) Ryy(1) Ryy(0) a b = Rxy(0) Rxy(1) (6) Finally a b = Ryy(0) Ryy(1) Ryy(1) Ryy(0) −1 Rxy(0) Rxy(1) (7) 6