# The purpose of this problem is to become familiar with the use of MATLAB. Consider the continuous-ti

The purpose of this problem is to become familiar with the use of MATLAB. Consider the continuous-time function x(t) 2e0.5sin(87t)u(t), where u(t) is the unit step function. a) (10 points) Design a MATLAB routine to plot x(t) from t -5 to t = 5 using 10, 100, and 1000 equally spaced samples. The following MATLAB code fragment suggests how this 11. can be done (using 1000 equally spaced samples). Note that the function provided by MATLAB, but can be easily generated using the sign) unit_step() is not and abs() functions. Turn in a listing of the code you used to accomplish this, along with plots of x(t). Label your plot using the title(), xlabel) and ylabel() functions. Comment on the difference between the three plots. t (-5:0.01:5) x-2*exp(-0.5*t)*sin(8**t)*unit_step(t) plot(t,x) b) (10 points) Design a MATLAB routine to plot the following functions. Turn in a listing of the code used to accomplish this, along with appropriately labeled printouts of each of the functions. (For each function, you will need to choose a range of time and sample spacing that allows the behavior to be clearly For each function, give a brief explanation for how the function relates to x(t), such as “shifted to the left by 12”. seen from your printout.) gup PgDn Home & yi(t)=x(-t) y2(t) x(t+ 5) yo(t)-x(t-8) ya(t) x(-3t+1) ys(t)= x(0.5t-2) yo(t)= 0.5x(t)+0.5x(-t)