Question: write a well-documented MATLAB program that plots the damped sinusoid e-asin (2) over time, over the range of 0 to 10 seconds- at a 10ms
write a well-documented MATLAB program that plots the damped sinusoid e-asin (2) over time, over the range of 0 to 10 seconds- at a 10ms increment. Use the vectorizing command of the form ttstart:ine: tend to allocate the time vector, followed by a semicolon to suppress the vector. Construct the damped sinusoid by forming an exponential vector of the form e-t2 followed by a sinusoid vector of the form sin(2mt). Plot your result using the plot command (Your plot will only be the damped plot). Make sure that the time vector t is the same length as the damped sinusoid. Label the x and y axis. Add a title to your graph. Submit your program into a program dampedSinusoid.m. Save your plot to a file labeled 'dampSine.fig', with the savefig command. Hint: Use the element-by-element multiplication operator in your solution
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
