Question: I have solved the question i just need help doing matlab code for part a Problem l 9: Give expressions for yC, for a sinusoidal

 I have solved the question i just need help doing matlab

code for part a Problem l 9: Give expressions for yC, forI have solved the question i just need help doing matlab code for part a

Problem l 9: Give expressions for yC, for a sinusoidal wave traveling along a string in the negativex-direction, given thatymax 40 cm, -30 cm,f-10 Hz, and (b yCx,00 0 at x 3.75 cm. Use the solution for part 20a) and plot yGr 0,)(i.e. sweep t to generate to generate the plot Submit your handwritten solution, MATLAB code, and apha Hints: You need to plot the equation of a wave with t as the independent variable. Refer to the MATLAB tutorial on how to enter variables and plot a sine wave. For this problem, your equations are in tems of cos. Define t as varying from 0 to 2 T where Tis the period of wave. Generate 200 data points for T the cosine Don't forget to include the phase an in your equation. In MATLAB, the tems inside the parenthesis for sin or cos should be in radians. If your handwritten answer is in degrees, you can convert from degrees to radians using the function deg2rad Grefer tutorial section T) If there are two solutions for the phase angle, you can plot for either of them and indicate which solution you have used

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!