Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

31
Chapter 2 Updated 06/23/22

description

operations on signals

Transcript of Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Page 1: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Chapter 2

Updated 04/14/23

Page 2: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Outline

• Transformation of Continuous-Time Signal– Time Reversal– Time Scaling– Time Shifting– Amplitude Transformation

• Signal Characteristics

Page 3: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Time reversal:

Time Reversal

X(t) Y=X(-t)

Page 4: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Mathematica Example

Shift+<Enter> to execute

Page 5: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Time scaling

TimeScaling

X(t) Y=X(at)

Page 6: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Time scaling

• Given y(t), – find w(t) = y(3t) – v(t) = y(t/3).

Page 7: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Circuit Example

• LC Tank Oscillator

Page 8: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Time Shifting

• The original signal x(t) is shifted by an amount to .Time Shift: y(t)=x(t-to)

• X(t)→X(t-to) // to>0 → Signal Delayed → Shift to the right

• X(t) → X(t+to) // to<0 → Signal Advanced → Shift to the left

TimeShifting

X(t) Y=X(t-to)

Page 9: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Connection to Circuits

Page 10: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Note: Unit Step Function

Unit Step function(a discontinuous continuous-time signal):

Page 11: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Mathematica Example (1)

Page 12: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Mathematica Example (2)

Page 13: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Draw

• x(t) = u(t+1)- u(t-2)

u(t+1)- u(t-2)

t=0

Page 14: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Mathematica Example (2)

Page 15: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Time Shifting Example

• Given x(t) = u(t+2) -u(t-2), – find

• x(t-t0)=• x(t+t0)=Answer:• x(t-t0)= u(t-to+2) -u(t-to-2), • x(t+t0)= u(t+to+2) -u(t+to-

2),

Page 16: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Problem

• Determine x(t) + x(2-t) , where x(t) = u(t+1)- u(t-2

• Method 1:– Observation: Rewrite x(2-t) as x(-(t-2))– Find x(-t) first, then shift t by t-2.

• Method 2: – Observation: X(2-t) implies time reversal.– So find x(2+t), then apply time reversal

Page 17: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Method 1

Find x(-t) first, then shift t by t-2.

Page 18: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Method 2

find x(2+t), then apply time reversal

Page 19: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

X(2-t)+x(t)

X(2-t)

X(t)

X(2-t)+x(t)

Page 20: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Combination of Scaling and Shifting

Method 1: Shift then scale

Page 21: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Combination of Scaling and Shifting

Method 2: Scale then shift

Page 22: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Amplitude Operations

In general: y(t)=Ax(t)+B

B>0 Shift upB<0 Shift down

|A|>1 Gain |A|<1 Attenuation

A>0NO reversal A<0 reversal

Reversal

Scaling

Scaling

Page 23: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Y(t)=AX(t)+B Example

Page 24: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Input and Output

Vout, m=46 mVVin, m=1 mV

Page 25: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Define a Piecewise Function in Mathematica

Page 26: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Example 2-1

X(t)

Advance: X(t+1)

Advance & ScalingX(t/2+1)

Advance,scaling &reversalX(-t/2+1)

Page 27: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Signal Characteristics

• Even Function

Xe(-t) = Xe(t)

Page 28: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Signal Characteristics

• Odd Function

Xo(t) =- Xo(-t)

Page 29: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Signal Characteristics

Xe + Ye = ZeXo + Yo = ZoXe + Yo = Ze + Zo

Xe * Ye = ZeXo * Yo = ZeXe * Yo = Zo

Any signal can be represented in terms of a odd function and an even function.

x(t)=xo(t)+xe(t)

Page 30: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Represent xe(t) in terms of x(t)

• Xe(t)

– X(t)=Xe(t)+Xo(t)

– Xe(t)=X(t)+Xo(t)• Xo(t)=-Xo(-t)

• X(-t)=Xe(-t)+Xo(-t)

– Xe(t)=X(t)-Xo(-t)=X(t)+X(-t)-Xe(-t)

• Therefore Xe(t)=[X(t)+X(-t)]/2• Similarly Xo(t)=[X(t)-X(-t)]/2

Page 31: Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx

Proof Examples• Prove that product of two

even signals is even.

• Prove that product of two odd signals is even.

• What is the product of an even signal and an odd signal? Prove it!

)()()(

)()()(

)()()(

21

21

21

txtxtx

txtxtx

txtxtx

Oddtx

txtxtx

txtxtx

txtxtx

)(

)()()(

)()()(

)()()(

21

21

21

Change t -t

(even) (odd)