Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Generate two sinusoids with different amplitudes, frequencies, and phases Using MATLAB. 1. x1(t)=5cos(218t+31/180) 2. x2(t)=9cos(213t+30/180) (a) Make a plot of both signals on two separate
Generate two sinusoids with different amplitudes, frequencies, and phases Using MATLAB. 1. x1(t)=5cos(218t+31/180) 2. x2(t)=9cos(213t+30/180) (a) Make a plot of both signals on two separate figure windows, over a range of ' t ' that will exhibit approximately 3 cycles. Make sure that you have enough samples per period of the wave to have a smooth signal in figure. (b) Create a third sinusoid as the sum: x3(t)=x1(t)+x2(t). In Matlab this amounts to summing the vectors that hold the samples of each sinusoid. Make a plot of x3(t) over the same range of time as used in the previous two plots. (c) Use subplot (3,1,1), subplot (3,1,2), and subplot (3,1,3) to make a three-panel subplot that puts all of three signals (x1(t),x2(t), and x3(t)) on the same window. See help subplot
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started