Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems|...

60
Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical Engineering and Information Engineering Digital Signal Processing and System Theory Advanced Signals and Systems Part 2: Discrete Signals and Random Processes

Transcript of Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems|...

Page 1: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Gerhard Schmidt Christian-Albrechts-Universität zu Kiel Faculty of Engineering Institute of Electrical Engineering and Information Engineering Digital Signal Processing and System Theory

Advanced Signals and Systems –

Part 2: Discrete Signals and Random Processes

Page 2: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-2 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Entire Semester:

Contents of the Lecture

Introduction

Discrete signals and random processes

Spectra

Discrete systems

Idealized linear, shift-invariant systems

Hilbert transform

State-space description and system realizations

Generalizations for signals, systems, and spectra

Page 3: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-3 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Contents of this Part

Discrete Signals and Random Processes

Definitions

Description of stochastic processes

Examples

Simple operations on stochastic processes

Page 4: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-4 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

A signal is called periodic if the following conditions holds: If there is no repetition, (i.e. ), then, the signal is non-periodic. The concept is easily extended to – dimensional signals with multiple periods with .

Discrete Signals and Random Processes

Definitions – Part 1

Periodic and Non-Periodic Signals:

Remark: In the continuous-signal domain, the function is the prototype of a periodic signal, with period . The corresponding sequence is not a-priori periodic – see conditions contained in the equation above!

Page 5: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-5 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Definitions – Part 2

Discrete Signals and Random Processes

Energy and power signals:

For closely modeling the physically defined values of continuous signals, we define

the instantaneous/local power:

the instantaneous/local energy:

the total signal energy:

the average power:

Page 6: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-6 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Definitions – Part 3

Energy and power signals (continued):

For periodic signals the definition of the average power turn into This is the average in any period. Signals for which the sums in the energy definitions do exist ( ), are termed signals of finite energy or, sloppily, energy signals. Signals for which the energy definitions cannot, but the power definitions can be evaluated, are termed signals of finite power or, sloppily, power signals.

Page 7: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-7 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Definitions – Part 4

Deterministic and stochastic signals:

If is determined by (possibly non-uniquely) and if the relation can be “evaluated”, then is deterministic. If is is of random character or if the relation cannot be “evaluated” despite of a non-random character, then is treated as stochastic. A typical example of a stochastically treated, though actually deterministic signal is speech: Contents are fixed by thoughts, the generation is determined by the “data transmission” and the physiological apparatus – but cannot be described or evaluated by any means. Another example is the error resulting from quantization of a deterministic signal (even for a sinusoid). Assume, e.g. a linear quantizer with four bits. This means: bit quantizer, leading to quantization intervals of a constant size (linear quantizer = straight line through the "stair-case“ characteristic).

Page 8: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-8 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Definitions – Part 5

Deterministic and stochastic signals (continued):

(Sign-magnitude characteristic)

With limitation (might also be different)

The quantization error is determined as If is known, i.e. deterministic, also the quantization error is deterministic!

But: Difficult evaluation even for a sinusoid signal (Bessel functions, …), rather impossible evaluation for more general signals! Therefore : the quantization error is very often modeled as a random process, termed quantization noise. Within a quantization interval, all amplitudes are assumed to be “equally probable”.

Page 9: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-9 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 1

Probability and probability-density function:

Definition of the probability function

where is called probability and as well as must be real! For reasons of probability definitions (see theory/theorems of statistics) we have

which must be monotonically non-decreasing over . The probability density function (pdf) is defined as

This is a non-negative function.

Page 10: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-10 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 2

Relations and extensions:

The relation between the probability function and the probability density function can be modified (inverted) according to

In addition we get

If is a multidimensional or complex variable or process, e.g. with the definitions “above” (see slides before) need to be extended.

Page 11: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-11 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 3

Relations and extensions (continued):

A bi-variate probability function is defined as If the two processes can assumed to be stationary, the probability should only depend on the difference between the two sampling points : A bi-variate probability density function is defined as Again this is a non-negative function:

Page 12: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-12 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 4

Relations and extensions (continued):

This can be easily extended to multi-variate probability (density) functions. Please have a look in the corresponding literature. We will continue with bi-variate functions. The relation between probability function and the probability density function can be inverted according to

As in the one-dimensional case we get also

(volume under ).

Page 13: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-13 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 5

Relations and extensions (continued):

One might ask how to connect uni-variate quantities with bi- or multi-variate functions :

From 2-D quantities to 1-D descriptions: marginal probability (density) (for all or only for special , correspondingly).

From 1-D quantities to 2-D descriptions:

Only for special cases (will be treated soon)

As a second question the dependency on is of interest. To clarify this we will introduce the concept of stationarity:

If the statistical properties of a one-dimension process do not depend on the (absolute) time index, the process is called stationary. This means that the probability density function does not depend on the time index .

Page 14: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-14 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 6

Relations and extensions (continued):

Concept of stationarity (continued):

For an instationary uni-variate process we get

In the bivariate case, the descriptions of an instationary process do not only depend on the distance between two points

but, if the process is instationary, on both and (or on and ):

In our definitions mentioned before, stationarity was assumed a priori. This will hold mostly in the following.

stationary … … instationary

stationary … … instationary

Page 15: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-15 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 7

Expectation, moments, correlation, and covariance:

Often only the statistics up to a certain “order” are required. These moments often can be estimated from measured process realizations. For this we introduce the general definition of the expectation operation (or operator) for stationary processes for …

… uni-variate functions:

… bi-variate functions:

Note that is a linear operator in !

Page 16: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-16 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 8

Expectation, moments, correlation, and covariance (continued):

Special expectation values:

Mean value, also called first moment :

Mean-square value, also called second moment :

Variance, also called second central moment :

Please note the similarity to AC/DC circuits: represents the DC component, is the DC power, can be interpreted as the AC power, and is the total power. Also we have

Page 17: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-17 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 9

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Please show that the statement

is really true!

Please try first in groups of two students … afterwards solution on the blackboard!

Page 18: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-18 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 10

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Characteristic function :

Some remarks:

Obviously, is a (modified) continuous Fourier transform of . Due to the unique inversion of this transform, carries all information about .

The Taylor-series coefficients of , via expansion of , are moments of ( , , and higher). Thus, knowledge of all moments is equivalent to the knowledge of , therefore, of .

Page 19: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-19 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 11

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Cross correlation :

Cross covariance :

Both and have the same meaning: except for the product of the means , they are deterministic sequences describing, according to the definition above, in an identical manner the average similarity of and as a function of the shift (distance) .

Page 20: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-20 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 12

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Matlab example for an application (localization) of cross correlation …

Page 21: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-21 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 13

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Autocorrelation function : Note, that this is a special case of the cross correlation with and The probability density function can be obtained from the probability function as

… to be continued on the next slide.

Page 22: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-22 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 14

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Autocorrelation function (continued) :

The probability density function can be obtained from the probability function as The probability function is defined as

The same process but at

different instances/points!

Page 23: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-23 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 15

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Auto-covariance function : The auto-correlation sequence/function (ACF) and the auto-covariance sequence/function describe the average similarity of with itself after a shift by .

Page 24: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-24 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 16

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Additional considerations concerning the autocorrelation and the auto-covariance function:

For a shift of zero we obtain for the autocorrelation function

This is also the “maximum similarity” of and . Thus we have

For the auto-covariance function we get for a shift of zero

Page 25: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-25 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 17

Expectation, moments, correlation, and covariance (continued):

Special expectation values (continued):

Additional considerations concerning the autocorrelation and the auto-covariance function (continued):

By replacing with in the definitions, we obtain the symmetry conditions and are hermitean functions of with their maximum absolute values and being real and non-negative. The symmetry of the cross-correlation and cross-covariance function is less simple, and no maximum statement can be given, in general.

Page 26: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-26 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 18

Special expectation values (continued):

Matlab example for an application (pitch estimation) of auto- correlation …

Expectation, moments, correlation, and covariance (continued):

Page 27: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-27 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 19

Independent, uncorrelated, and orthogonal processes:

Statistical independence is defined as the separability of the joint probability density function (for specific values of or for all ). For the bi-variate case we get as a definition Less strict conditions which are often sufficient for cases that focus on minimizing the mean-squared error is given by the uncorrelatedness and by orthogonality. They are defined as follows:

Uncorrelated processes:

Orthogonal processes:

According to the definitions above both are identical if and/or , but in general two processes can be uncorrelated but not orthogonal and vice versa.

Derived on the next slide!

Page 28: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-28 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Some Questions …

Independent, uncorrelated, and orthogonal processes:

Partner work – Please think about the following questions and try to find answers (first group discussions, afterwards broad discussion in the whole group).

Assume you have two uncorrelated random processes. The first process has a mean of one. What is required from the second process for being orthogonal with the first process?

……………………………………………………………………………………………………………………………..

……………………………………………………………………………………………………………………………..

How would you estimate the mean of a process?

………………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………………

Page 29: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-29 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 20

Independent, uncorrelated, and orthogonal processes (continued):

Cross-correlation function in case of statistical independence:

… inserting the general definition of the cross-correlation function …

… inserting the definition of independence …

… splitting the integral into single-variable integrals …

… using the definition of the mean value …

Page 30: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-30 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 21

Independent, uncorrelated, and orthogonal processes (continued):

For the cross-covariance function (in case of statistical independence) we obtain in the same way Thus we can conclude:

Independence includes uncorrelatedness!

The inversion, however, is not true in general.

Page 31: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-31 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Description of Stochastic Processes – Part 22

Independent, uncorrelated, and orthogonal processes (continued):

The concepts of independence, uncorrelatedness, and orthogonality may be applied also to a single process with independent, uncorrelated, or orthogonal values and with . Thus, for a signal, that is “orthogonal to itself ” we have:

and for a process that is “uncorrelated with itself ” we get

In the following we will call a stationary, zero-mean process with autocorrelation

a white noise process. Note, that some definitions of white noise allow a mean value different from zero.

Unit impulse (defined on the next slide) …

Page 32: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-32 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 1

Deterministic signals:

Some basic (deterministic) signals (this should be a repetition of known things):

Unit impulse:

Unit step:

“Double impulse”:

… for corresponding graphs, see next slide …

Page 33: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-33 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 2

Deterministic signals (continued):

Graphs for some basic (deterministic) signals:

Unit impulse sequence

Double impulse sequence

Unit step sequence

Page 34: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-34 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 3

Deterministic signals (continued):

Some basic (deterministic) signals (this should be a repetition of known things):

Unit ramp:

Rectangle (of length ):

Some remarks:

A unit ramp can also be expressed as a sum over shifted unit step sequences

“-1” is necessary!

Page 35: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-35 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 4

Some remarks (continued):

In general the basic signals introduced before (unit impulse, unit step, double impulse, and unit ramp) can be transformed into each other. We can see the following relations:

Intuitively, we can observe the inversion of the difference is the summation. That is very much related with inverting a differentiation by integration.

The summation leads also to the summation property of the unit impulse:

Deterministic signals (continued):

Difference after shift

Summation after shift

Page 36: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-36 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 5

Some remarks (continued):

Another property (sampling property) of the unit impulse can be of help in some derivations. It is described as

Multiplication of the sequence by leaves a sequence with only one value at and zeros elsewhere. Sampling of a sequence can be described in this way.

Some interesting parallelisms from the continuous signal domain:

Deterministic signals (continued):

Page 37: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-37 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 6

Deterministic signals (continued):

Some basic (deterministic) signals (continued):

(Real) exponential sequence:

Sinusoidal sequence: with : amplitude ( ), : frequency ( ), : phase/angle ( ).

Page 38: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-38 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 7

Deterministic signals (continued):

Some basic (deterministic) signals (continued):

Complex harmonic sequence

with Obviously, this includes the sinusoidal sequences with

(General) complex exponential sequence: with as described above and the complex “frequency variable"

Page 39: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-39 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 8

Deterministic signals (continued):

The complex exponential sequence can be used to generate all discrete sequences that have been defined before. To understand this sequence in more detail we will start with a continuous version and split it into a complex harmonic and an real exponential term:

determines the frequency, for an exponential (or a constant) sequence can be generated determines that decay (or growth), for

a constant or a sinusoid can be generated)

Page 40: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-40 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 9

Deterministic signals (continued):

By sampling we can go from the continuous domain to the discrete domain. Note, that not for all a periodic sequence (assuming ) is generated. The signals , , , and are termed often elementary signals – they are the basis of a very general treatment of signals and systems.

Page 41: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-41 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Some Questions …

Partner work – Please think about the following questions and try to find answers (first group discussions, afterwards broad discussion in the whole group).

What is meant by “being an eigenfunction or eigensequence” of a linear, shift-invariant system?

……………………………………………………………………………………………………………………………..

……………………………………………………………………………………………………………………………..

Why is the sequence not necessarily periodic?

………………………………………………………………………………………………………………………………

………………………………………………………………………………………………………………………………

Deterministic signals (continued):

Page 42: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-42 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 10

Stochastic signals:

A stochastic signal is described by its properties, mainly by a description of its amplitude distribution and by a description of its correlation, which gives also information about its average spectrum (e.g. power spectral density). We will focus now on a few probability density functions.

Uniform distribution:

is a rectangle between and . The “incremental probabilities” are constant, meaning that we obtain for the probability density function

The factor follows from the rule of the total probability

Page 43: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-43 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

For the mean and the standard deviation we get:

Mean:

Discrete Signals and Random Processes

Examples – Part 11

Stochastic signals (continued):

… inserting the uniform distribution …

… inserting the limits …

… using (a² - b²) = (a-b)(a+b) …

… simplifying …

Page 44: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-44 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 12

Stochastic signals (continued):

For the mean and the standard deviation we get (continued):

Standard deviation (analog to the mean deviation):

The uniform distribution is the probability density function suitable to describe quantization noise/errors (as briefly discussed before).

Page 45: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-45 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 13

Stochastic signals (continued):

Univariate probability density functions (continued):

Gaussian or Normal distribution:

(“bell-shaped” curve with a symmetry point at and a width proportional to ). It is parametric distribution with very nice properties (see references …). Some further densities that can be generated out of Gaussians will be shown on the next slide.

Page 46: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-46 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 14

Univariate probability density functions (continued):

Processes that can be generated by combining several independent zero-main Gaussian processes that are mutually uncorrelated and have standard deviation :

Stochastic signals (continued):

Page 47: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-47 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 15

Univariate probability density functions (continued):

Graphs of the before mentioned densities

Stochastic signals (continued):

… taken from D. Wolf: Signaltheorie – Modelle und Strukturen, Springer, 1999

Page 48: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-48 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 16

Stochastic signals (continued):

Finally we discuss two bivariate distributions:

Bivariate uniform distribution in the case of independence of the two processes and :

„Height“:

Page 49: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-49 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 17

Stochastic signals (continued):

Bivariate uniform distribution (continued): For the cross correlation function we get For the cross covariance function we obtain

… in both definitions it was assumed that both processes are real (not complex) …

Page 50: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-50 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 18

Stochastic signals (continued):

Bivariate distributions (continued):

Bivariate Gaussian distribution in the case of independence of the two real processes and : The formula above describes a “bell-shaped” volume with ellipsoidal level lines. The ellipses have …

… a center which is determined by ,

… width of which are determined by and ,

… an “angle” towards the axes that depends on , with

Cross covariance at lag

Page 51: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-51 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Examples – Part 19

Stochastic signals (continued):

Bi-variate distributions (continued): Two examples for bi-variate Gaussian distributions.

Note for the bi-variate density can be separated into two uni-variate densities (statistical independence).

Page 52: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-52 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 1

Summation:

The summation of random processes (possibly after weighting) is a frequent operation. We will consider here the simplest case: the summation of two processes:

We assume that and are stationary processes with known statistics (we have knowledge about ). What we want to know are the statistics of , namely .

Mean of :

Please try to prove that result on your own!

… afterwards presentation on the blackboard ….

Independent of !

Page 53: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-53 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 2

Summation (continued):

Second moment and variance of :

For the variance we obtain in an analog manner:

… inserting …

… splitting the brackets in three parts …

… inserting the definitions of the individual expectations …

Note, that stationary, real processes were assumed!

Page 54: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-54 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 3

Summation (continued):

Probability density function of : The density function can only be computed if statistical independence of and is assumed. In this case we get a quite simple result: This means that the density function of the sum of two statistically independent processes can be obtained by convolving their individual densities. To prove this result we will use the characteristic function …

… derivation on the blackboard!

Page 55: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-55 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 4

General mapping:

The probability density function of a process can be derived from its probability function . However, in many cases it easier to derive the density function directly out of and . For that “direct” method it is necessary that does not contain a Dirac distribution!

For the transformation of the density function we assume that the characteristic has for and for with an amount of solutions:

If contains distributions, a separate treatment can be done: is transformed to !

Page 56: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-56 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 5

General mapping (continued):

Example for a quadratic characteristic, leading to solutions.

Page 57: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-57 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 6

General mapping (continued):

Now we can define the following „events“ (probabilities):

For sufficiently small both events are disjoint and we obtain for their probabilities

In addition we can make the following approximations:

Page 58: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-58 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 7

General mapping (continued):

Using these approximation we get

If we assume that is differentiable, we can rewrite the approximation from above for With

we obtain finally This relation can be utilized

for system analysis purposes. However, also systems for manipulation

of densities (processes) can be realized in such a way.

Page 59: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-59 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Simple Operations on Stochastic Processes – Part 8

Graphic close to E. Hänsler: Statistische Signale, 2. edition, Springer, 1996

General mapping (continued):

Page 60: Advanced Signals and Systems Part 2: Discrete Signals … · ... Advanced Signals and Systems| Discrete Signals and ... For closely modeling the physically defined values of continuous

Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes Slide II-60 Digital Signal Processing and System Theory| Advanced Signals and Systems| Discrete Signals and Random Processes

Discrete Signals and Random Processes

Summary and Outlook

This part:

Definitions

Description of stochastic processes

Examples

Simple operations on stochastic processes

Next part:

Spectra