Problems


next up previous
Next: About this document Up: ECE361 Previous: ECE361

Problems

  1. Write Matlab script to generate and plot periodic signals shown below. All the signals 1a) through 1e) should be obtained from the same script by selecting an input parameter to the Matlab script. Also, the amplitude , the length of the period, the number of meshpoints/period, the total number of periods, and the starting time should be defined as parameters that the user can choose. Note that you can do it all using functions , , a constant function, and their combinations.

    1a)

    1b)

    1c) Hint

    1d)

    1e) width of each step is

  2. Write a Matlab script to generate several sawtooth periodic signals.

    a)

    b)

    c)

    Hint: Use 'fliplr' command to reverse the time axis for a signal. e.g.

    after 'fliplr' operation will become

    Combining such singles and the square waves from problem 1 you can get all kinds of shapes. In your report show the results you obtained.

  3. Complex periodic signals

    Let , .

    Let , , ,

    a)

    b)

    b)

    Plot a sequence of points on the unit circle in the complex plane, and corresponding sequences of and .

    To plot the sequence of points in the complex plane, you can use the Matlab command plot(f,'*'). With complex values of the sequence , points will be displayed as asterisks in the complex plane. For more information on the 'plot' command, use 'help plot' in Matlab.

    Describe your conclusion concerning the difference in behavior of the sequence between cases a), b) and case c).



Hongxing Xia
Thu Feb 16 19:03:36 EST 1995