Question: Develop a MATLAB script to plot the function y(x) = 4/pi cos omega x + 4/9 pi cos 3 omega x where omega is a
Develop a MATLAB script to plot the function y(x) = 4/pi cos omega x + 4/9 pi cos 3 omega x where omega is a variable input at the command prompt. Label the x-axis with time (sec) and the y-axis with y(x) = (4/pi) * cos (omega x) (4/9 pi) cos (3 omega x). Include a descriptive header in the script, and verify that the help function will display the header. Choose omega = 1, 3, 10 rad/s and test the script Consider the function y(x) = 10 + 5e^-x cos(omega x + 0.5) Develop a script to co plot y(x) for the three values of omega = 1, 3, 10 rad/s with 0 lessthanorequalto x lessthanorequalto 5 seconds. The final plot should have the following attributes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
