Basic Operation on Signals Continuous-Time Signals.

68
Basic Operation on Signals Continuous-Time Signals

Transcript of Basic Operation on Signals Continuous-Time Signals.

Page 1: Basic Operation on Signals Continuous-Time Signals.

Basic Operation on Signals

Continuous-Time Signals

Page 2: Basic Operation on Signals Continuous-Time Signals.

• The signal is the actual physical phenomenon that carries information, and the function is a mathematical description of the signal.

Page 3: Basic Operation on Signals Continuous-Time Signals.

Complex Exponentials & Sinusoids • Signals can be expressed in sinusoid or complex exponential.

g(t) = A cos (2Пt/To+θ)= A cos (2Пfot+ θ)= A cos (ωot+ θ)

g(t) = Ae(σo+jωo)t

= Aeσot[cos (ωot) +j sin (ωot)]

Where A is the amplitude of a sinusoid or complex exponential, To is the real fundamental period of sinusoid, fo is real fundamental cyclic frequency of sinusoid, ωo is the real fundamental radian frequency of sinusoid, t is time and σo is a real damping rate.

sinusoids

complex exponentials

Page 4: Basic Operation on Signals Continuous-Time Signals.

• In signals and systems, sinusoids are expressed in either of two ways :a. cyclic frequency f form - A cos (2Пfot+ θ)

b. radian frequency ω form - A cos (ωot+ θ)

• Sinusoids and exponentials are important in signal and system analysis because they arise naturally in the solutions of the differential equations.

Page 5: Basic Operation on Signals Continuous-Time Signals.

Singularity functions and related functions

• In the consideration of singularity functions, we will extend, modify, and/or generalized some basic mathematical concepts and operation to allow us to efficiently analyze real signals and systems.

Page 6: Basic Operation on Signals Continuous-Time Signals.

The Unit Step Function

1 , 0

u 1/ 2 , 0

0 , 0

t

t t

t

Precise Graph Commonly-Used Graph

Page 7: Basic Operation on Signals Continuous-Time Signals.

The Signum Function

1 , 0

sgn 0 , 0 2u 1

1 , 0

t

t t t

t

Precise Graph Commonly-Used Graph

The signum function, is closely related to the unit-step function.

Page 8: Basic Operation on Signals Continuous-Time Signals.

The Unit Ramp Function

, 0ramp u u

0 , 0

tt tt d t t

t

•The unit ramp function is the integral of the unit step function.•It is called the unit ramp function because for positive t, its slope is one amplitude unit per time.

Page 9: Basic Operation on Signals Continuous-Time Signals.

The Rectangular Pulse Function

Rectangular pulse, 1/ , / 2

0 , / 2a

a t at

t a

Page 10: Basic Operation on Signals Continuous-Time Signals.

The Unit Step and Unit Impulse Function

As approaches zero, g approaches a unit

step andg approaches a unit impulse

a t

t

The unit step is the integral of the unit impulse and the unit impulse is the generalized derivative of theunit step

Page 11: Basic Operation on Signals Continuous-Time Signals.

Graphical Representation of the Impulse

The area under an impulse is called its strength or weight. It is represented graphically by a vertical arrow. Its strength is either written beside it or is represented by its length. An impulse with a strength of one is called a unit impulse.

Page 12: Basic Operation on Signals Continuous-Time Signals.

Properties of the Impulse

0 0g gt t t dt t

The Sampling Property

0 0

1a t t t t

a

The Scaling Property

The sampling property “extracts” the value of a function ata point.

This property illustrates that the impulse is different from ordinary mathematical functions.

The Equivalence Property

Page 13: Basic Operation on Signals Continuous-Time Signals.

The Unit Periodic Impulse

The unit periodic impulse/impulse train is defined by

, an integerTn

t t nT n

The periodic impulse is a sum of infinitely many uniformly-spaced impulses.

Page 14: Basic Operation on Signals Continuous-Time Signals.

The Unit Rectangle Function

1 , 1/ 2

rect 1/ 2 , 1/ 2 u 1/ 2 u 1/ 2

0 , 1/ 2

t

t t t t

t

The signal “turned on” at time t = -1/2 and “turned back off” at time t = +1/2.

Precise graph Commonly-used graph

Page 15: Basic Operation on Signals Continuous-Time Signals.

The Unit Triangle Function

1 , 1

tri0 , 1

t tt

t

The unit triangle is related to the unit rectangle through an operation called convolution. It is called a unit triangle because its height and area are both one (but its base width is not).

Page 16: Basic Operation on Signals Continuous-Time Signals.

The Unit Sinc Function

sinsinc

tt

t

The unit sinc function is related to the unit rectangle function through the Fourier transform.

Page 17: Basic Operation on Signals Continuous-Time Signals.

The Dirichlet Function

sin

drcl ,sin

Ntt N

N t

The Dirichlet function is the sum of infinitely manyuniformly-spaced sinc functions.

Page 18: Basic Operation on Signals Continuous-Time Signals.

Combinations of Functions

• Sometime a single mathematical function may completely describe a signal (ex: a sinusoid).

• But often one function is not enough for an accurate description.

• Therefore, combination of function is needed to allow versatility in the mathematical representation of arbitrary signals.

• The combination can be sums, differences, products and/or quotients of functions.

Page 19: Basic Operation on Signals Continuous-Time Signals.

Shifting and Scaling FunctionsLet a function be defined graphically by

and let g 0 , 5t t

Page 20: Basic Operation on Signals Continuous-Time Signals.

1. Amplitude Scaling,

g t Ag t

Page 21: Basic Operation on Signals Continuous-Time Signals.

1. Amplitude Scaling, (cont…)

g t Ag t

Page 22: Basic Operation on Signals Continuous-Time Signals.

2. Time shifting, 0t t t

Shifting the function to the right or left by t0

Page 23: Basic Operation on Signals Continuous-Time Signals.

3. Time scaling, /t t a

Expands the function horizontally by a factor of |a|

Page 24: Basic Operation on Signals Continuous-Time Signals.

3. Time scaling, (cont…)

/t t a

If a < 0, the function is also time inverted. The time inversionmeans flipping the curve 1800 with the g axis as the rotation axis of the flip.

Page 25: Basic Operation on Signals Continuous-Time Signals.

0g gt t

t Aa

4. Multiple transformations

0

amplitudescaling, / 0g g g gt t tA t t a t tt

t A t A Aa a

A multiple transformation can be done in steps

0

amplitudescaling, / 0

0 0g g g g gt t tA t t a t ttt A t A t t A t A

a a

The order of the changes is important. For example, if weexchange the order of the time-scaling and time-shifting operations, we get:

Amplitude scaling, time scaling and time shifting can be appliedsimultaneously.

Page 26: Basic Operation on Signals Continuous-Time Signals.

g t Agt t0

a

Multiple transformations,

A sequence of amplitude scaling , time scaling and time shifting

Page 27: Basic Operation on Signals Continuous-Time Signals.

Differentiation and Integration

• Integration and differentiation are common signal processing operations in real systems.

• The derivative of a function at any time t is its slope at the time.

• The integral of a function at any time t is accumulated area under the function up to that time.

Page 28: Basic Operation on Signals Continuous-Time Signals.

Differentiation

Page 29: Basic Operation on Signals Continuous-Time Signals.

Integration

Page 30: Basic Operation on Signals Continuous-Time Signals.

Even and Odd CT FunctionsEven Functions Odd Functions

g t g t

g t g t

Page 31: Basic Operation on Signals Continuous-Time Signals.

Even and Odd Parts of Functions

g gThe of a function is g

2e

t tt

even part

g gThe of a function is g

2o

t tt

odd part

A function whose even part is zero is odd and a functionwhose odd part is zero is even.

Page 32: Basic Operation on Signals Continuous-Time Signals.

Combination of even and odd function

Function type Sum Difference Product Quotient

Both even Even Even Even Even

Both odd Odd Odd Even Even

Even and odd Neither Neither Odd Odd

Page 33: Basic Operation on Signals Continuous-Time Signals.

Two Even Functions

Products of Even and Odd Functions

Page 34: Basic Operation on Signals Continuous-Time Signals.

Cont…

An Even Function and an Odd Function

Page 35: Basic Operation on Signals Continuous-Time Signals.

An Even Function and an Odd Function

Cont…

Page 36: Basic Operation on Signals Continuous-Time Signals.

Two Odd Functions

Cont…

Page 37: Basic Operation on Signals Continuous-Time Signals.

Function type and the types of derivatives and integrals

Function type Derivative Integral

Even Odd Odd + constant

Odd Even Even

Page 38: Basic Operation on Signals Continuous-Time Signals.

Integrals of Even and Odd Functions

0

g 2 ga a

a

t dt t dt

g 0a

a

t dt

Page 39: Basic Operation on Signals Continuous-Time Signals.

Signal Energy and Power

2

x xE t dt

The signal energy of a signal x(t) is

All physical activity is mediated by a transfer of energy.

No real physical system can respond to an excitation unless it has energy.

Signal energy of a signal is defined as the area under the square of the magnitude of the signal.

The units of signal energy depends on the unit of the signal.

If the signal unit is volt (V), the energy of that signal is expressed in V2.s.

Page 40: Basic Operation on Signals Continuous-Time Signals.

Signal Energy and PowerSome signals have infinite signal energy. In that caseit is more convenient to deal with average signal power.

/ 2

2

x

/ 2

1lim x

T

TT

P t dtT

The average signal power of a signal x(t) is

For a periodic signal x(t) the average signal power is

2

x

1x

TP t dt

T

where T is any period of the signal.

Page 41: Basic Operation on Signals Continuous-Time Signals.

Signal Energy and Power

A signal with finite signal energy is called an energy signal.

A signal with infinite signal energy and finite average signal power is called a power signal.

Page 42: Basic Operation on Signals Continuous-Time Signals.

Basic Operation on Signals

Discrete-Time Signals

Page 43: Basic Operation on Signals Continuous-Time Signals.

Sampling a Continuous-Time Signal to Create a Discrete-Time Signal• Sampling is the acquisition of the values of a

continuous-time signal at discrete points in time• x(t) is a continuous-time signal, x[n] is a discrete-

time signal

x x where is the time between sampless sn nT T

Page 44: Basic Operation on Signals Continuous-Time Signals.

Complex Exponentials and Sinusoids

• DT signals can be defined in a manner analogous to their continuous-time counter partg[n] = A cos (2Пn/No+θ)

= A cos (2ПFon+ θ) = A cos (Ωon+ θ)

g[n] = Aeβn

= Azn

Where A is the real constant (amplitude), θ is a real phase shifting radians, No is a real number and Fo and Ωo are related to No through 1/N0 = Fo = Ωo/2 П, where n is the previously defined discrete time.

sinusoids

complex exponentials

Page 45: Basic Operation on Signals Continuous-Time Signals.

DT Sinusoids

• There are some important differences between CT and DT sinusoids.

• If we create a DT sinusoid by sampling CT sinusoid, the period of the DT sinusoid may not be readily apparent and in fact the DT sinusoid may not even be periodic.

Page 46: Basic Operation on Signals Continuous-Time Signals.

DT Sinusoids4 discrete-time sinusoids

Page 47: Basic Operation on Signals Continuous-Time Signals.

DT SinusoidsAn Aperiodic Sinusoid

A discrete time sinusoids is not necessarily periodic

Page 48: Basic Operation on Signals Continuous-Time Signals.

DT SinusoidsTwo DT sinusoids whose analytical expressions look different,

g1 n Acos 2F01n 2 02g cos 2n A F n and

may actually be the same. If

02 01 , where is an integerF F m m

then (because n is discrete time and therefore an integer),

01 02cos 2 cos 2A F n A F n

(Example on next slide)

Page 49: Basic Operation on Signals Continuous-Time Signals.

Sinusoids

The dash line are the CT function. The CT function are obviously different but the DT function are not.

Page 50: Basic Operation on Signals Continuous-Time Signals.

The Impulse Function

1 , 0

0 , 0

nn

n

The discrete-time unit impulse (also known as the “Kronecker delta function”) is a function in the ordinary sense (in contrast with the continuous-time unit impulse). It has a sampling property,

0 0x xn

A n n n A n

but no scaling property. That is,

for any non-zero, finite integer .n an a

Page 51: Basic Operation on Signals Continuous-Time Signals.

The Unit Sequence Function

1 , 0u

0 , 0

nn

n

Page 52: Basic Operation on Signals Continuous-Time Signals.

The Unit Ramp Function

, 0ramp u 1

0 , 0

n

m

n nn m

n

Page 53: Basic Operation on Signals Continuous-Time Signals.

The Rectangle Function

1 ,

rect , 0 , an integer0 ,w

w

N w w

w

n Nn N N

n N

Page 54: Basic Operation on Signals Continuous-Time Signals.

The Periodic Impulse Function

Nm

n n mN

Page 55: Basic Operation on Signals Continuous-Time Signals.

Scaling and Shifting FunctionsLet g[n] be graphically defined by

g n 0 , n 15

Page 56: Basic Operation on Signals Continuous-Time Signals.

0 0 , an integern n n n Time shifting

Scaling and Shifting Functions

2.

1. Amplitude scaling

Amplitude scaling for discrete time function is exactly thesame as it is for continuous time function

Page 57: Basic Operation on Signals Continuous-Time Signals.

3. Time compression, n Kn

K an integer > 1

Page 58: Basic Operation on Signals Continuous-Time Signals.

/ , 1n n K K Time expansion

For all such that / is an integer, g / is defined.

For all such that / is not an integer, g / is not defined.

n n K n K

n n K n K

4.

Page 59: Basic Operation on Signals Continuous-Time Signals.

Differencing and accumulation

• The operation on discrete-time signal that is analogous to the derivative is difference.

• The discrete-time counterpart of integration is accumulation (or summation).

Page 60: Basic Operation on Signals Continuous-Time Signals.

Even and Odd Functions

g gg

2e

n nn

g g

g2o

n nn

g gn n g gn n

Page 61: Basic Operation on Signals Continuous-Time Signals.

Combination of even and odd function

Function type Sum Difference Product Quotient

Both even Even Even Even Even

Both odd Odd Odd Even Even

Even and odd Even or Odd Even or odd Odd Odd

Page 62: Basic Operation on Signals Continuous-Time Signals.

Products of Even and Odd Functions

Two Even Functions

Page 63: Basic Operation on Signals Continuous-Time Signals.

Cont…An Even Function and an Odd Function

Page 64: Basic Operation on Signals Continuous-Time Signals.

Cont…

Two Odd Functions

Page 65: Basic Operation on Signals Continuous-Time Signals.

Accumulation of Even and Odd Functions

1

g g 0 2 gN N

n N n

n n

g 0N

n N

n

Page 66: Basic Operation on Signals Continuous-Time Signals.

Signal Energy and Power

The signal energy of a signal x[n] is

2

x xn

E n

Page 67: Basic Operation on Signals Continuous-Time Signals.

Signal Energy and PowerSome signals have infinite signal energy. In that caseIt is usually more convenient to deal with average signal power. The average signal power of a signal x[n] is

1

2

x

1lim x

2

N

Nn N

P nN

2

x

1x

n N

P nN

For a periodic signal x[n] the average signal power is

The notation means the sum over any set of

consecutive 's exactly in length.

n N

n N

Page 68: Basic Operation on Signals Continuous-Time Signals.

Signal Energy and Power

A signal with finite signal energy is called an energy signal.

A signal with infinite signal energy and finite average signal power is called a power signal.