LAB - 2(VLSI)

Preview:

DESCRIPTION

kk

Citation preview

  • LAB - 2

    1. Write a program(s) that takes in a time interval t, a frequency from the user and

    plots:

    a) (t)

    b) u(t)

    c) u(t-5)

    d) 2*u(t)-1

    e) sin( *t) , sin( *3*t) , sin( *t/3) all in the same plot using different colours.

    f) sin( *t) , (1/3)*sin(3* *t) , (1/5)*sin(5* *t) individually and then their sum

    in the same figure window as separate plots.

    What do you observe in the sum of the three?

    g) A random signal over the time interval t (explore rand command)

    h) For the parts b), c), d) and e) first plot the signals in continuous form and then in discrete

    form.(explore stem command)

  • 2. Plot the following signal:

    The last section on RHS is a time shifted exponentially decaying signal e-t.