Question: 10. Do problem 5 symbolically using fplot: 5. Generate a plot of: y(t)=etsin(t+30);=2rad/s and 0t10, compute y every 0.05 seconds 0t10. Utilize the colon notation


10. Do problem 5 symbolically using fplot: 5. Generate a plot of: y(t)=etsin(t+30);=2rad/s and 0t10, compute y every 0.05 seconds 0t10. Utilize the colon notation to generate the t vector: t=0:0.05:10 Attention: MATLAB works in radians, not degrees, so you need to convert the 30 to radians. Attention: You would need to use. when multiplying the exponential with the sine; otherwise, you would get dimension mismatch error. This is because the outputs of the exp((0:0.05:10)) and sin commands are both row vectors. In this case you do want to have an element-by-element multiplication of the exp and sin vectors to create the vector y
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
