Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

38. A circuit that filters out a certain fre- quency is shown in the figure. In this fil- ter, the ratio of the magnitudes of

image text in transcribed

38. A circuit that filters out a certain fre- quency is shown in the figure. In this fil- ter, the ratio of the magnitudes of the o voltages is given by: Vi Vo where w2, and /is the frequency of the input signal. where Zrf, and,fis the frequency of the input signal Write a user-defined MATLAB function that calculates the ratio of magnitudes. For the function name and arguments, use RV-filt a freq (R, C, L, f). The input arguments are R the size of the resistor in (ohms); C, the size of the capacitor in F (farad); L, the inductance of the coil in H (henrys); and f, the frequency of the input signal in Hz (hertz). Write the function such that f can be a vector Write a program in a script file that uses the filtafreq function to generate a figure with two plots of RV as a function of ffor 10s f 3100,000 Hz. In one plot C = 160 F, L = 45 mH, and R = 200 and in the sec- ond plot C and L are unchanged but R-50 . The plot has a logarithmic scale on the horizontal axis. Label the axes and display a legend

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

Step: 3

blur-text-image

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

DB2 11 The Ultimate Database For Cloud Analytics And Mobile

Authors: John Campbell, Chris Crone, Gareth Jones, Surekha Parekh, Jay Yothers

1st Edition

ISBN: 1583474013, 978-1583474013

More Books

Students also viewed these Databases questions

Question

Determining how many people will lose their jobs.

Answered: 1 week ago