, 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

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.
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).