Answered step by step
Verified Expert Solution
Question
1 Approved Answer
37. The simple RC high-pass filter shown in the figure passes signals with frequencies higher than a certain cutoff frequency. The ratio of the magnitudes
37. The simple RC high-pass filter shown in the figure passes signals with frequencies higher than a certain cutoff frequency. The ratio of the magnitudes of the voltages is given by: RV-Iv.1-T.mi where -2 and f is the frequency of the input signal. Vi 0 Write a user-defined MATLAB function that calculates the ratio of magnitudes for given values of R, C, and f. For the function name and arguments, use RV- RCFilt (R,c,f). The input arguments are R, the size of the resistor in (ohms), c, the size of the capacitor in F (farad); 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 RCFilt function to generate a plot of RV as a function of ffor 10 s fs 100, 000 Hz. The plot has a logarithmic scale on the horizontal axis. When executed, the script file asks the user to enter the values of R and C. Label the axes of the plot Run the script file with R = 80 , and C = 5F
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