Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

6.

#

Software:
MATLAB2016A
values :
A=1,B=6,C=3,D=1,E=4,F=D1,G=0,H=1
**Generate two CDEF hertz sinusoids with different amplitudes and phases.
x1(t) = Aj cos(2n(CDEF)t + ji)
X2(t) = A2 cos(2T(CDEF)t + jz)
(a) Select the value of the amplitudes as follows: let AI = AB and A2 = GH. For the phases, use ji
= DG (in degrees), and take j2 = 30°. When doing computations in Matlab, make sure to convert
degrees to radians.
(b) Make a plot of both signals over a range of t that will exhibit approximately 3 cycles. Make
sure the plot starts at a negative time so that it will include t = 0.
(c) Verify that the phase of the two signals x1(1) and x2(t) is correct at t = 0, and also verify that
each one has the correct maximum amplitude.
(d) Use subplot(3,1,1) and subplot(3,1,2) to make a three-panel subplot that puts both of
these plots on the same window. See help subplot.
(e) Create a third sinusoid as the sum: x3(t) = x(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. Include this as the third panel in the window by using subplot
(3,1,3).
Transcribed Image Text:Software: MATLAB2016A values : A=1,B=6,C=3,D=1,E=4,F=D1,G=0,H=1 **Generate two CDEF hertz sinusoids with different amplitudes and phases. x1(t) = Aj cos(2n(CDEF)t + ji) X2(t) = A2 cos(2T(CDEF)t + jz) (a) Select the value of the amplitudes as follows: let AI = AB and A2 = GH. For the phases, use ji = DG (in degrees), and take j2 = 30°. When doing computations in Matlab, make sure to convert degrees to radians. (b) Make a plot of both signals over a range of t that will exhibit approximately 3 cycles. Make sure the plot starts at a negative time so that it will include t = 0. (c) Verify that the phase of the two signals x1(1) and x2(t) is correct at t = 0, and also verify that each one has the correct maximum amplitude. (d) Use subplot(3,1,1) and subplot(3,1,2) to make a three-panel subplot that puts both of these plots on the same window. See help subplot. (e) Create a third sinusoid as the sum: x3(t) = x(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. Include this as the third panel in the window by using subplot (3,1,3).
Expert Solution
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY