Question

4. Apply the periodic signal of Problem 1 to a system (the RC circuit discussed in class with the position of the two oRC H(jo) components flipped) for which爪r)-l+JRC·Use MATLAB to plot the output signal 0 (which corresponds in this case to the resistor voltage) for three cases, namely RC-sec, RC-10sec, and RC-0.1 see. Compare the output to the input signal and discuss the amount of distortion that is observed and why in some cases there is more distortion than in other cases
media%2Fe22%2Fe22366b4-6f04-4f5e-8b4a-2a

Please attach matlab code and figures
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1)

clc;close all;clear all;
RC=1
b=[RC 0]
a=[RC 1]
sys=tf(b,a)
t=0:pi/100:pi;
x1=(exp(-t/RC));
tt=linspace(-3*pi,3*pi,6*length(x1));
x=[-x1 x1 -x1 x1 -x1 x1];
subplot(211)
plot(tt/pi,x,'r')
xlabel('t')
title('x(t) for RC=1')
ylabel('x(t)')

y=lsim(sys,x,tt)

subplot(212)
plot(tt/pi,y,'b')
xlabel('t')
title('y(t)')
ylabel('y(t)')

x(t) for RC=1 X(t) । | 2 3 y(t) |


clc;close all;clear all;
RC=10
b=[RC 0]
a=[RC 1]
sys=tf(b,a)
t=0:pi/100:pi;
x1=(exp(-t/RC));
tt=linspace(-3*pi,3*pi,6*length(x1));
x=[-x1 x1 -x1 x1 -x1 x1];
subplot(211)
plot(tt/pi,x,'r')
xlabel('t')
title('x(t) for RC=10')
ylabel('x(t)')

y=lsim(sys,x,tt);

subplot(212)
plot(tt/pi,y,'b')
xlabel('t')
title('y(t)')
ylabel('y(t)')

, y(t) X(t) x(t) for RC=10

clc;close all;clear all;
RC=0.1
b=[RC 0]
a=[RC 1]
sys=tf(b,a)
t=0:pi/100:pi;
x1=(exp(-t/RC));
tt=linspace(-3*pi,3*pi,6*length(x1));
x=[-x1 x1 -x1 x1 -x1 x1];
subplot(211)
plot(tt/pi,x,'r')
xlabel('t')
title('x(t) for RC=0.1')
ylabel('x(t)')

y=lsim(sys,x,tt);

subplot(212)
plot(tt/pi,y/abs(max(y)),'b')
xlabel('t')
title('y(t)')
ylabel('y(t)')

x(t) for RC=0.1 X(t) 3

Add a comment
Know the answer?
Add Answer to:
Please attach matlab code and figures 4. Apply the periodic signal of Problem 1 to a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • -1 3. Apply the periodic signal o I to a system (the RC circuit discussed in...

    -1 3. Apply the periodic signal o I to a system (the RC circuit discussed in class) for which I+ oRC Use MATLAB to plot the output signal ) (which corresponds to the capacitor voltage) for three cases, namely RC-see, RC-10see a RC-0.1se Compare the output to the input signal and discuss the amount of distortion that is observed and why in some cases there is more distortion than in other cases. Hint: you will need to where τ is...

  • Please use matlab and attach the figures of the solution 7. Consider the following CT signals,...

    Please use matlab and attach the figures of the solution 7. Consider the following CT signals, all of them defined for -31 (o)-cos()-sin(4x) ,0)-1.5e 5,0)-)50- For each of these signals indicate whether it is even, odd, or neither, real or complex, periodic or non periodic, type I, type II, or neither. Plot each signal using MATLAB. If a signal is complex, plot magnitude and phase separately. Select a plotting interval and a sampling interval appropriate for the signal in question....

  • Hello, I'm taking signal systems course. please solve this question in matlab as soon as possbile please. Question 1 a) Write a function that calculates the Continuous Time Fourier Transform o...

    Hello, I'm taking signal systems course. please solve this question in matlab as soon as possbile please. Question 1 a) Write a function that calculates the Continuous Time Fourier Transform of a periodic signal x() Syntax: [w, X] = CTFT(t, x) The outputs to the function are: w = the frequencies in rad/s, and X = the continuous Fourier transform of the signal The inputs to the function are: x-one period of the signal x(t), andt the time vector The...

  • solve using MatLab please. HW - 1 Use a cover page Word file attached for the...

    solve using MatLab please. HW - 1 Use a cover page Word file attached for the homework solution. Solve all questions using Word and the Matlab output should be copied into the Word file. All questions and answers should be numbered HW1.1 Generate the following sequences using the basic MATLAB signal functions and the basic MATLAB signal operations discussed in this chapter. Plot signal samples using the stem function. 1- x(n) = n°[u(n+5] – u(n-6) + 105(n) + 20(0.5)* [u(n-4)...

  • Can someone please help me with this, I'm really stuck. here a sample code provide for the matlab...

    can someone please help me with this, I'm really stuck. here a sample code provide for the matlab: clear all; close all; % ---------- (a) ---------- a = 0.7; % attenuation coef. D = 5; % digital time delay UnitImpulse = [1 zeros(1,???)]; % creat unit impulse, starting from n=0; x = UnitImpulse; y = filter(1, [1 zeros(1, D-1) -a], x); % help filter, do you know the usage of filter() now? n = 0:(length(y)-1); % check length of y[n]...

  • can you sovle this problem, also I need the code for part d. thanks Problem #5 Ri Vy= Probe I R- 1502 o VOLTMETER IN...

    can you sovle this problem, also I need the code for part d. thanks Problem #5 Ri Vy= Probe I R- 1502 o VOLTMETER INPUT CIRCUIT Probe 2 Express resistance in ohms (2) and voltage in volts (V) Requirements-Part 1 (voltmeter not attached yet) a) Suppose you want to produce a voltage of 1 V across resistor R2 (i.e. Vor 1 V) Use the voltage divider equation to find the value of Ri that is needed to do this. b)...

  • Laboratory 2: Transistor circuit characteristics A. Objectives: 1. To study the basic characteris...

    Laboratory 2: Transistor circuit characteristics A. Objectives: 1. To study the basic characteristics of a transistor circuit. 2. To study the bias circuit of a transistor circuit. B. Apparatus: 1. DC Power supply 2. Experimental boards and corresponding components 3. Electronic calculator (prepared by students) 4. Digital camera (prepared by students for photo taking of the experimental results) 5. Laptop computer with the software PicoScope 6 and Microsoft Word installed. 6. PicoScope PC Oscilloscope and its accessories. 7. Digital multi-meter....

  • PLEASE DO IN MATLAB Problem 8 (PID feedback control). This problem is about Proportional-Integral-Derivative feedback control...

    PLEASE DO IN MATLAB Problem 8 (PID feedback control). This problem is about Proportional-Integral-Derivative feedback control systems. The general setup of the system we are going to look at is given below: e(t) u(t) |C(s) y(t) P(s) r(t) Here the various signals are: signal/system r(t) y(t) e(t) P(s) C(s) и(t) meaning desired output signal actual output signal error signal r(t) y(t) Laplace transform of the (unstable) plant controller to be designed control signal Our goal is to design a controller...

  • I am currently trying to figure out the experiment below. Please complete Table 1 with an...

    I am currently trying to figure out the experiment below. Please complete Table 1 with an explanation, I appreciate it thank you!  Promise to give thumbs up! Introduction The phase differences between the output voltage, the voltage across the inductor, the voltage across the capacitor, and the voltage across the resistor will be examined at resonant frequency. The voltage and phase relationship will also be examined for frequencies above and below resonance. Theory An inductor, a capacitor, and a resistor are...

  • Vout should be a sinusoid signal of 12Vp-p Dc voltage to uA741 : +/-8.5V Please simulate...

    Vout should be a sinusoid signal of 12Vp-p Dc voltage to uA741 : +/-8.5V Please simulate as well please help, im completely lost on this this is all of the information Experiment 5. RC Sinusoidal Oscillators PURPOSE: This laboratory provides an introduction to the background, analysis and design of sinusoidal oscillators using RC feedback networks and active devices to achieve the criteria for continuous oscillations to occur. EQUIPMENT REQUIRED : 1 Operational amplifier u.A741 1 CEU development station Resistors and...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT