Question

Use the circuit below to complete the given MATLAB script to plot the three voltages Vr. Vc and VL. Run MATLAB then pick an a

0 0
Add a comment Improve this question Transcribed image text
Answer #1

PLOT A is the correct answer.

MATLAB CODE:

clc;

Mvs=10;

Avs=30*pi/180;

[Xvs,Yvs]=pol2cart(Avs,Mvs);

Vs=Xvs+j*Yvs;

%impedance values

Zr=4;ZL=10j;Zc=-12j;

%total equivalent impedance

Zeq=Zr+ZL+Zc;

%calculate current

It=Vs/Zeq;

Vr=It*Zr;

Vc=It*Zc;

VL=It*ZL;

x=[real(Vr) real(Vc) real(VL)];

y=[imag(Vr) imag(Vc) imag(VL)];

V=x+j*y;

clr=lines(numel(x,y));

h=compass(V);

set(h,{'Color'},num2cell(clr,2),'LineWidth',2)

u=abs(V);

v=phase(V)*180/pi;

figure(1)

set(findobj(gcf,'type','text','-and','fontsize',10),'string')

legend({['V_r=',num2str(u(1));A;'theta_r=';num2str(v(1));'^o'],...

    ['V_c=',num2str(u(2));A;'theta_c=';num2str(v(2));'^o'],...

    ['V_L=',num2str(u(3));A;'theta_L=';num2str(v(3));'^o']},...

'location','southoutside')

90 30 120 60 20 150 30 10 180 0 210 330 240 300 270

Add a comment
Know the answer?
Add Answer to:
Use the circuit below to complete the given MATLAB script to plot the three voltages Vr....
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
  • Use the circuit below to complete the given MATLAB script to plot the three voltages Vr,...

    Use the circuit below to complete the given MATLAB script to plot the three voltages Vr, Vc and VL. Run MATLAB then pick an answer from the choices below that matches the MATLAB plot. MATLAB uncomplete script clc; close all; clear all; Mvs= 10; Avs=30*pi/180; [Xvs Yvs]=pol2cart(Avs, Mvs); Vs=Xvs+j*Yvs; % Impedances values Zr=4; ZL=10j; Zc=-12j; % total equivalent impedance of series R, L and C Zeq = ; %complete % Calculate current It = ; %complete Vr= ; %complete Vc=...

  • CIRCUIT ANALYSIS! Electrical engineering! Knowledge of MATLAB required!!!! Professionals only! Please be clear and concise. MUST...

    CIRCUIT ANALYSIS! Electrical engineering! Knowledge of MATLAB required!!!! Professionals only! Please be clear and concise. MUST ANSWER ALL PARTS OF QUESTION!!!!!!!! Credit only awarded to all complete answers Please circle answers Answer all missing MATLAB variables . Zeq = . It = Vr = Vc = VL = MOST IMPORTANT... Which graph is correct??? Use the circuit below to complete the given MATLAB script to plot the three voltages Vr. Vc and VL. Run MATLAB then pick an answer from...

  • Use the circuit below to complete the given MATLAB script to plot the three currents 11,...

    Use the circuit below to complete the given MATLAB script to plot the three currents 11, 12, and 13. Run MATLAB then pick an answer from the choices below that matches the MATLAB plot. I Z1 13 212 1, 22, 23 Vs + 8/45° 22222 2.12 MATLAB uncomplete script %phasor plot clc; clear all; close all: Z1-2; Z2=2j; Z3=2-2j; %no need to use the as in 6*j %Vs=87_45 theta=45*pi/180;%convert theta to radians R-8: [a,b]=pol2cart(theta,R): %note theta first in the arguments...

  • Use the circuit below to complete the given MATLAB script to plot the three currents I1,...

    Use the circuit below to complete the given MATLAB script to plot the three currents I1, I2, and I3. Run MATLAB then pick an answer from the choices below that matches the MATLAB plot. MATLAB uncomplete script %phasor plot clc; clear all; close all; Z1=2; Z2=2j; Z3=2-2j; %no need to use the * as in 6*j %Vs=8/_45 theta=45*pi/180; %convert theta to radians R=8; [a,b]=pol2cart(theta,R); %note theta first in the arguments Vs=a+j*b; %cartesian form Z23= ___________; % Complete Zeq=____________ ; %...

  • CIRCUIT ANALYSIS! Electrical engineering! Knowledge of MATLAB required!!!! Professionals only! Please be clear and concise. MUST...

    CIRCUIT ANALYSIS! Electrical engineering! Knowledge of MATLAB required!!!! Professionals only! Please be clear and concise. MUST ANSWER ALL PARTS OF QUESTION!!!!!!!! Credit only awarded to all complete answers Please circle answers Answer all missing MATLAB variables . Zeq = . It = Vr = Vc = VL = MOST IMPORTANT... Which graph is correct??? Use the circuit below to complete the given MATLAB script to plot the three currents 11,12 and 13. Run MATLAB then pick an answer from the...

  • Answer Q2 Q1. Use MATLAB to calculate sum of the AC voltages. Plot all three voltages...

    Answer Q2 Q1. Use MATLAB to calculate sum of the AC voltages. Plot all three voltages in the same figure using the inbuilt function subplot(). The frequency of the signal is 10 Hz. Vary the time, t, so that you can view few cycles of the AC voltage. vi(t) = 10 V sin(wt +T/2) vz(t) =15 V sin(wt+1/3) vs(t) = (t) + v2(t) Q2. Use voltage vi(t) from Q1 and impedance, Z = 50 L 30°, and find phasor current...

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
ADVERTISEMENT