Question: A damped sinusoid is described by the equation y= e - sin where is called the damping factor and is an angle. Use linspace to

  1. A damped sinusoid is described by the equation

y= e-sin A damped sinusoid is described by the equation y= e-sin where

where is called the damping factor and is an angle. Use linspace to is called the damping factor and create a vector called myangle containing 101 points from 0 to 6p. is an angle.

  1. Use linspace to create a vector called myangle containing 101 points from 0 to 6p.
  2. Create a vector called lambda containing two damping factors, 0.05 and 0.20.
  3. Create another vector called response1 using the equation shown above with the first value of lambda. The variable myangle corresponds to the variable Create a vector called lambda containing two damping factors, 0.05 and 0.20. in the equation. In MATLAB the exponential function is exp.
  4. Plot response1 vs. myangle with a solid red line with no symbols.
  5. Label the x axis Angle (radians)
  6. Label the y axis Non-dimensional Amplitude
  7. Title the plot Damped Response
  8. Add a grid.
  9. Create another vector called response2 using the same equation, but using the second value of lambda.
  10. Add another line to the plot containing response2. Use a black dashed line with circles for symbols. (Dont forget hold on before plotting the line, otherwise the first line will be erased.)
  11. Create a legend. Label the first line 0.05 Damping Factor and the second 0.20 Damping Factor.
  12. Write the result to a file in png format.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem in MATLAB follow these steps Step 1 Create the myangle Vector Use the linspace ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!