Review the MATLAB tutorials provided on Bb and plot the following signals. Instructions: Plot this signal between t=[-5 to 10]. For each plot you must label x and y axis and have a title for the plot. Following commands could be used. heaviside, plot, axis, ylabel, ylabel, title, etc � At the command prompt of MATLAB you can type >> help [command name] to get help with any command. plot all of the signal for t between -5 and 10 seconds.
(a) x1(t)= u(t+1) - u(t-4)
(b) x2(t)=t[u(t+1) - u(t-4)]
(c) x3(t)=t[u(t+1) - u(t-4)]-u(t-8)[u(t-4)-u(t-9)]
(d) x4(t)=sin(2pit)[u(t+1)-u(t-7)]
(e) x5(t)= sin(pi/2t)(2pit)[u(t+1)-u(t-7)] (f) ? 10 to k=1(sin2pikt/3 )[u(t+1)-u(t-7)]
2. Plot x4, x5, and x4+x5 on the same figure using different colors. Is x4+x5 periodic? If yes, what is the period of x4+x5 signal in relation to the periods of x4 and x5? Clearly show the period on the graph and state your analysis and explanation. Label all of the axis and signals using the previous and other MATLAB commands such as "figure", "hold on", and "legend".
10 years ago
Purchase the answer to view it

- here_is_matlab_code.docx