lecture 2-done.pdf

Upload: asdsd

Post on 04-Jun-2018

229 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Lecture 2-Done.pdf

    1/23

    Remote Sensing LaboratoryDept. of Information Engineering and Computer Science

    University of TrentoVia Sommarive, 14, I-38123 Povo, Trento, Italy

    Remote Sensing LaboratoryDept. of Information Engineering and Computer Science

    University of TrentoVia Sommarive, 14, I-38123 Povo, Trento, Italy

    Begm Demir

    Digital Signal Processing

    Lecture 2

    Digital Signal Processing

    Lecture 2

    E-mail: [email protected]

    Web page: http://rslab.disi.unitn.it

  • 8/13/2019 Lecture 2-Done.pdf

    2/23

    University of Trento, Italy

    Discrete Time Signals

    2B. Demir 2

    A discrete time signal is a sequence of numbers

    The length Nof the signal is the total number of samples in the sequence.

  • 8/13/2019 Lecture 2-Done.pdf

    3/23

    University of Trento, Italy

    Operations on Sequences

    3B. Demir

    Addition/Subtraction

    x3[n]=x1[n]+x2[n] x4[n]=x1[n]-x2[n]

  • 8/13/2019 Lecture 2-Done.pdf

    4/23

    University of Trento, Italy

    Operations on Sequences

    4B. Demir

    Multiplication

    How will you apply multiplication if the sizes are not the same?

    x5[n]=x1[n]x2[n]

  • 8/13/2019 Lecture 2-Done.pdf

    5/23

    University of Trento, Italy

    Operations on Sequences

    5B. Demir

    Multiplication & Addition with constants

  • 8/13/2019 Lecture 2-Done.pdf

    6/23

    University of Trento, Italy

    Operations on Sequences

    6B. Demir

    Shifting y[n]=x[n-n0] If n0 >0time delay If n0

  • 8/13/2019 Lecture 2-Done.pdf

    7/23

    University of Trento, Italy

    Operations on Sequences

    7B. Demir

    Time Reverse: y[n]= x[-n]

  • 8/13/2019 Lecture 2-Done.pdf

    8/23

    University of Trento, Italy 8B. Demir

    [ ] is given below. Estimate [2 ] and [ / 2]x n x n x n

    Signal compression

    Signal stretching

    Operations on Sequences

    [ ] [ ]

    [ ]

    y n x n

    ny n x

    =

    =

  • 8/13/2019 Lecture 2-Done.pdf

    9/23

    University of Trento, Italy 9B. Demir

    Linear Interpolation

  • 8/13/2019 Lecture 2-Done.pdf

    10/23

    University of Trento, Italy

    Elementary Digital Signals

    10B. Demir

    Unit Impulse (Digital Impulse, Discrete Time Impulse):

    1 0[ ]

    0 0

    nn

    n

    ==

    1[ ]0

    n mn mn m

    = =

  • 8/13/2019 Lecture 2-Done.pdf

    11/23

    University of Trento, Italy

    Exercises

    11B. Demir

    Write the signals given below in terms of

    if [ ] ( ) ( 1) ( 2) 4 ( 3) 5 ( 4)

    [ 2] ?

    x n n n n n n

    x n

    = + + + +

    + =

    [ ]n

  • 8/13/2019 Lecture 2-Done.pdf

    12/23

    University of Trento, Italy

    Elementary Digital Signals

    12B. Demir

    Unit Step Sequence:

    Unit Impulse and Unit Step Sequences are related as follows:

    1 0[ ]

    0 0

    nu n

    n

    =

  • 8/13/2019 Lecture 2-Done.pdf

    13/23

    University of Trento, Italy 13B. Demir

    Exercises

  • 8/13/2019 Lecture 2-Done.pdf

    14/23

    University of Trento, Italy

    Elementary Digital Signals

    14B. Demir

    Real exponential sequence:

    [ ] nx n a=[ ] nx n a=

  • 8/13/2019 Lecture 2-Done.pdf

    15/23

    University of Trento, Italy

    Elementary Digital Signals

    15B. Demir

    Real exponential sequence:

    ( ) nx n a=( ) nx n a=

  • 8/13/2019 Lecture 2-Done.pdf

    16/23

    University of Trento, Italy

    Elementary Digital Signals

    16B. Demir

    Sinusoidal sequence:

    [ ] cos( )x n A n = +[ ] cos( )x n A n = + cos( ) 2

    sin( )2

    j n j n

    j n j n

    e en

    e en

    j

    +

    =

    =

  • 8/13/2019 Lecture 2-Done.pdf

    17/23

    University of Trento, Italy

    Elementary Digital Signals

    17B. Demir

    Complex exponential sequence:

    [ ] j nx n e =[ ] j n

    x n e = ( )1,j

    z re r n = = = ( )1,jz re r n = = =

  • 8/13/2019 Lecture 2-Done.pdf

    18/23

    University of Trento, Italy

    Elementary Digital Signals

    18B. Demir

    Complex exponential sequence:

  • 8/13/2019 Lecture 2-Done.pdf

    19/23

    University of Trento, Italy

    Properties of Sinusoidal/Complex Signals

    19B. Demir

  • 8/13/2019 Lecture 2-Done.pdf

    20/23

    University of Trento, Italy

    Properties of Sinusoidal Signals

    20B. Demir

    [ ] )cos()2(cos nnr =+

  • 8/13/2019 Lecture 2-Done.pdf

    21/23

  • 8/13/2019 Lecture 2-Done.pdf

    22/23

    University of Trento, Italy

    Examples

    22B. Demir

    [ ]

    [ ] 4 / 7

    Is cos periodic?

    11

    Is 5 periodic?j n

    x n n

    x n e

    =

    =

  • 8/13/2019 Lecture 2-Done.pdf

    23/23

    University of Trento, Italy

    Examples

    23B. Demir

    Let us assume that we have 3 sinusoidal signals x1[n], x2[n] and x3[n] thatare periodic with N1, N2 and N3, respectively. The signal x4[n] given belowis periodic?

    [ ] [ ] [ ] [ ]

    [ ]

    4 1 2 3

    4

    ;

    is periodic?

    x n ax n bx n cx n

    x n

    = + +

    4 1 2 3( , , )N LCM N N N=