Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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-sinimage text in transcribed

where image text in transcribed is called the damping factor and image text in transcribed 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 image text in transcribed 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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

=+21.6. Prove (21.9) by Fubini's theorem.

Answered: 1 week ago