a) Write a MATLAB program to simulate the propagation of a wave in the +x direction using the following equation: {(x, t
Posted: Mon Jun 06, 2022 6:21 pm
a) Write a MATLAB program to simulate the propagation of a wave in the +x direction using the following equation: {(x, t) = sin (w (t – ½)) [H (t – ₹) – H (t – ² – 6T)] For this problem, simulate t = 0s to t = 30 s with a time step of 0.5 s. Plot the signal at each time point as a function of distance between x = -2500 m and x = 2500 m (use x increments of 1). Set the wave velocity to 100 m/s and set the frequency to 10 rad/s. b) Repeat part (a) but simulate the propagation of the wave in the -x direction. c) Repeat part (a) but simulate the propagation of the wave in both the +x and -x directions simultaneously.