Question: PLEASE PASTE MATHLAB WORK Plotting functions in MatLab a. Define a linear function and plot it using the plot command. b. Change the appearance of
Plotting functions in MatLab a. Define a linear function and plot it using the "plot" command. b. Change the appearance of the plot using the "color/style/marker" parameter of the "plot" command. c. Practice plotting more complex functions: quadratic (y=3*x^2+5*x+10), exponential (y=2^x), and trigonometric (y=sin(x)) functions. Adjust the doma of the function when plotting to obtain meaningful results. d. Practice plotting several functions within the same plot area. Wave Characteristics Consider a wave with an amplitude of 10 volts, period of 3 seconds, and a wavelength of 3 cm. Assume that the reference phase is zero. a. Create a plot of this wave at x = 0. Plot the total time of 15 seconds for this wave. b. Create a plot of this wave at t= 0. Plot the total distance of 15 cm for this wave. c. Calculate the phase velocity and the frequency of this wave. Phase Shifting Consider the following wave equations: y=9*cos(2*pi*t/10) y=9*cos(2*pi*t/10+pi/4) y=9*cos(2*pi*t/10-pi/4) a. Plot these waves in MatLab. b. What is the difference between these waves? Explain using the phase lead and phase lag terminology and specify the order of these waves
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
