Revised: June 30, 2016 Math and Matlab Workshop Name: Date: Section / Group: Short Form Report 0. Explain the advantage of using scripts over the command line. 1.0. Enter the vectors and matrices supplied by your TA in the spaces below d e D 1.1 Compute the product f d' e 1.2 Compute the product F DE E 1.3 Use Matlab to compute the results above. They should agree exactly. If not, check both your hand calculation and the Matlab commands. When they agree “select” your Matlab commands in the command window, print the selection and attach to this short form. 2.0 Plot the vector d vs. e using the plot command. The d values should appear on the y axis and the e values on the x axis. Attach your plot to this short form report. 3.1 What do you see in the command window? 1 of 2 3.2 How does the Command window output change when semicolons are added? 3.3 Attach a copy of your script file to this short form report. 4.0 Record the transfer function provided by your lab consultant. Use Matlab to define the transfer function T(s) provided by your lab consultant. Select and print that portion of your command window. Attach it to your short form report. T(s) 5.0 Create a script to plot the time solution of the linear ODE represented by the transfer function T(s) and input u(t) provided by your Lab Consultant. Attach a copy of the script and plot to this report. Record u(t) below. u(t) 6.1 Use the step command to plot the unit step response of the transfer function T(s). Write the command below, label the plot and attach the plot to this report. 6.2 Use the step command to plot the step response of the transfer function T(s) to a function that is 0 at t<0 and 20 at t>0. Write the command below, label the plot with a pen and attach the plot to this report. 7.0 Write a script file that a) computes the product of A(s) and B(s) above, P(s) = A(s)B(s) using the conv function, b) computes the series combination of the transfer functions C(s) and D(s) so that E(s) = C(s)D(s) using the series function, and c) computes the feedback systems transfer function combination of the transfer functions C(s) and D(s) using the feedback function. Print out this script file and attach it to your report. 2 of 2