If we apply a sinusoidal input voltage, VN, the Vout output voltage, VIn, will be sinusoidal as well. T frequency of Vour and ViN will be identical, but amplitude and phase angle of Vour will vary fro as described by. in If VN = A sin(wt) then Vaur = A, sin(ut + q) The frequency response plot is a plot of A, /A versus w. The ratio of A, /A is refr to as a "transfer function" (how much of the amplitude of the input is "transferred' the output). It is usually plotted on semi-log paper. In ENGR 204 and ENGR 251 the equation that describes the transfer function is H= where H = the ratio of A/A VI+ (RCm) Usually His expressed in decibels as He = 20 logra (H) = 20 logo (- V1+ (RCm) The phase angle, o, can be expressed as o = tan' (RCu) Write a MATLAB script that will ask the user for the following information: a. The resistance R (in ohms) b. The capacitance (in far ads) c. The starting frequency (w) in radians/sec d. The ending frequency (w2) in radians/sec LaP RGFe Trester unchon LoeP REr a e After the user enters the above use the subplot command to plo charts: the transfer function He 30 the phase angle p as functions o on semilog graphs. 20 30 For R= 10KS2, C = 0.1pF, w 1 rad/sec, and wz = 1 Mrad/sec yo should generate the plots to the Make sure your plots have the s overall title and x/y-axis titles as ay

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

Code in MATLAB

Copy is strictly prohibited

1. (1s) TTits) The circuit shown below is an RC
circuit:
If we apply a sinusoidal input voltage, V, the
Vout output voltage, VIN, will be sinusoidal as well. The
frequency of Vour and Viy will be identical, but the
amplitude and phase angle of Vour will vary from VIN
as described by.
Vin
If VN = A sin(wt) then Vaur = A, sin(ut + q)
The frequency response plot is a plot of A, /A versus w. The ratio of A, /A is referred
to as a "transfer function" (how much of the amplitude of the input is "transferred" to
the output). It is usually plotted on semi-log paper. In ENGR 204 and ENGR 251 the
equation that describes the transfer function is
where H = the ratio of A/A
VI+ (RCo)
Usually His expressed in decibels as He = 20 logno (H) = 20 logno (-
%3D
I+ (RCa)
The phase angle, o, can be expressed as o = tan' (RCu)
Write a MATLAB script that will ask the user for the following information:
a. The resistance R (in ohms)
b. The capacitance (in far ads)
c. The starting frequency (w) in radians/sec
d. The ending frequency (wa) in radians/sec
Low Pa RC Fer Treter Punchon
Le Ps REr ae lege
After the user enters the above data
use the subplot command to plot two
charts: the transfer function Hs and
30
the phase angle o as functions of w
on semilog graphs.
20
For R= 10KS2 C = 0.1pF, w =1
rad/sec, and w; = 1 Mrad/sec you
should generate the plots to the left.
Make sure your plots have the same
overall title and x/y-axis titles as the
graphs to the left for full credit
Oga a
One a
ay
Transcribed Image Text:1. (1s) TTits) The circuit shown below is an RC circuit: If we apply a sinusoidal input voltage, V, the Vout output voltage, VIN, will be sinusoidal as well. The frequency of Vour and Viy will be identical, but the amplitude and phase angle of Vour will vary from VIN as described by. Vin If VN = A sin(wt) then Vaur = A, sin(ut + q) The frequency response plot is a plot of A, /A versus w. The ratio of A, /A is referred to as a "transfer function" (how much of the amplitude of the input is "transferred" to the output). It is usually plotted on semi-log paper. In ENGR 204 and ENGR 251 the equation that describes the transfer function is where H = the ratio of A/A VI+ (RCo) Usually His expressed in decibels as He = 20 logno (H) = 20 logno (- %3D I+ (RCa) The phase angle, o, can be expressed as o = tan' (RCu) Write a MATLAB script that will ask the user for the following information: a. The resistance R (in ohms) b. The capacitance (in far ads) c. The starting frequency (w) in radians/sec d. The ending frequency (wa) in radians/sec Low Pa RC Fer Treter Punchon Le Ps REr ae lege After the user enters the above data use the subplot command to plot two charts: the transfer function Hs and 30 the phase angle o as functions of w on semilog graphs. 20 For R= 10KS2 C = 0.1pF, w =1 rad/sec, and w; = 1 Mrad/sec you should generate the plots to the left. Make sure your plots have the same overall title and x/y-axis titles as the graphs to the left for full credit Oga a One a ay
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 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