1. (6 marks) Generate basic signals and display them using MATLAB® built-in functions—‘stem’ and ‘plot’. Please show two sub-plots (one with ‘stem’; the other with ‘plot’) in one single figure for each signal function.
a. Impulse function
b. Step function
c. Square function whose ‘on’ time is user-defined