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')
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 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, 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, 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 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 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...