Consider the following function f(t), where time t is measured in seconds: f(t)=12.cos(60t – 1.8)·cos(100t +1.2) Look up the formula for turning the product of two sinusoids into the sum of two...


Consider the following function f(t), where time t is measured in seconds:<br>f(t)=12.cos(60t – 1.8)·cos(100t +1.2)<br>Look up the formula for turning the product of two sinusoids into the sum of two sinusoids. Include an<br>appropriate citation near the beginning of your script. Write the identity in a comment near the<br>beginning of your script, using the same symbols used in your citation.<br>Write a MATLAB script that will graph all three functions on one figure, i.e., f(t) and the two sinusoids<br>whose sum is equal to f(t), from t = 0 to t = 200ms. Think about how you can compute the three<br>functions efficiently. (HINT: Look at the identity you are using, and define two simple functions that<br>you can use to define all three functions to plot.)<br>There are two checks: (1) Construct a

Extracted text: Consider the following function f(t), where time t is measured in seconds: f(t)=12.cos(60t – 1.8)·cos(100t +1.2) Look up the formula for turning the product of two sinusoids into the sum of two sinusoids. Include an appropriate citation near the beginning of your script. Write the identity in a comment near the beginning of your script, using the same symbols used in your citation. Write a MATLAB script that will graph all three functions on one figure, i.e., f(t) and the two sinusoids whose sum is equal to f(t), from t = 0 to t = 200ms. Think about how you can compute the three functions efficiently. (HINT: Look at the identity you are using, and define two simple functions that you can use to define all three functions to plot.) There are two checks: (1) Construct a "checking" function that should be an array of zeros if the two sinusoids are correct. Plot this function on the same figure as the other three functions. (2) Use the ABS (absolute value) and SUM functions to design a check that is a single number that should be close to zero ONLY if all of the elements of the "checking" function are close to zero.

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here