Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Now you're on your own. Include a short summary of this Section with plots in your Lab report. Wriic a MATL AD script file to

image text in transcribed
Now you're on your own. Include a short summary of this Section with plots in your Lab report. Wriic a MATL AD script file to do steps (a) through h (d) below. Include a listing of the script fle with your report (a) Generate a time voctor (tt) to cover a range of t that will exhibit approximately two cycles of the 2500 Hz sinusoids defined in the next part, part (b). Use a definition for t denose the period of the sinusoid similar to part 2 2(d) If we use T to ls, define the starting time of the vector to be equal to-T, and the ending cycles will include t o. Finally, make sare that you have at least 25 samples when you use the colon operator to define the time per period of the sinusoidal wave. In other words, vector, make the increment small enough to generate 25 samples per period (b) Gencrate two 2500 Hz sinusoids with arbitrary amplitude and time-shift Select the value of the amplitudes and time-shifts as follows: Let A be oqual to your age and set A, - 1.2A. For the time-shifts, set t-(37.2/M) Tand t-(41.3/D) T where D and M are the day and month of your birthday, and T'is the period Make a plot of both signals over the range of -Tt T. For your final printed output in pat (d) below use subplot (3,1,1) and subplot (3,1,2) to make a thrce-pancl subplot that puts both of these plots in the same figure window. See help subplot (e) Create a third sinusoid as the sum: x, (t)x (t) x(t). In MATLAB this amounts to summing the vectors that hold the values of cach sinusoid. Make a plot of (t) over the same range of time as used in the plots of part (b). Include this as the third panel in the plot by using subplot (3, 1,3) (d) Before printing the three plots, put a title on each subplot, and include your name in one of the titdles. See help title, help print and help orient, especially orient tall. 3.1 Theoretical Calculations Remember that the phase of a sinusoid can be calculated after measuring the time location of a positive peak, if you know the frequency (a) Make measurements of the "time-location of a positive peak" and the amplitude from the plots of x (t) and x (t), and write those values for As and t directly on the plots. Then calculate (by hand) the phases of the two signals, x: (t.) and x2(t), by converting each time-shift ts to phase. Write the calculated phases p, diroctly on the plots Note: when doing computations, express phase angles in radians, not degrces! (b) Mcasure the amplitude and time-shift of x (t) directly from the plot and then calculate the phase (ps) by hand Write these values directly on the plot to show how the amplitude and time-shift were measured, how the phase was calculated. (c) Now use the phasor addition theorem. Carry out a phasor addition of complex amplitudes for x(t) and x2 (t) to determine the complex amplitude for xs (t). Use the complex amplitude for x,(t) to verify that your previous calculations of Ag and p were corrected 3.2 Complex Amplitude Write one line of MATLAB code that will generate valucs of the sinusoid x (t) above by using the complex amplitude representation Use constants for X and a

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

List and describe the steps involved in building a data warehouse.

Answered: 1 week ago

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago