Professional Documents
Culture Documents
Windows Command - Y - Barra
Windows Command - Y - Barra
Windows Command - Y - Barra
Y_Barra_2 =
>> Y_Barra_2(4,4)=-18.2i
Y_Barra_2 =
>> I=I2
Unrecognized function or variable 'I2'.
>> I2=I
I2 =
0.0000 - 1.2000i
-0.7200 - 0.9600i
0.0000 - 1.2000i
0.0000 + 0.0000i
>> V=V2
Unrecognized function or variable 'V2'.
>> V2=V
V2 =
1.4111 - 0.2668i
1.3831 - 0.3508i
1.4059 - 0.2824i
1.4010 - 0.2971i
>> V2 = inv(Y_Barra_2)*I2
V2 =
1.3050 - 0.2443i
1.2775 - 0.3284i
1.2975 - 0.2594i
1.2798 - 0.2714i
>> X2=V2
X2 =
05/06/21 22:37 MATLAB Command Window 2 of 3
1.3050 - 0.2443i
1.2775 - 0.3284i
1.2975 - 0.2594i
1.2798 - 0.2714i
ans =
1.3277
1.3190
1.3232
1.3083
>> angle(X2)
ans =
-0.1851
-0.2516
-0.1973
-0.2089
>> rad2deg(ans)
ans =
-10.6051
-14.4157
-11.3068
-11.9718
>> phase2=rad2deg(angle(X2))
phase2 =
-10.6051
-14.4157
-11.3068
-11.9718
length2 =
1.3277
1.3190
1.3232
1.3083
ans =
1.3050
1.2775
1.2975
1.2798
ans =
-0.2443
-0.3284
-0.2594
-0.2714
>> length2*cos(deg2rad(phase2))
Error using *
Incorrect dimensions for matrix multiplication. Check that the number of columns in
the first matrix matches the number
of rows in the second matrix. To perform elementwise multiplication, use '.*'.
ans =
1.3050
1.2775
1.2975
1.2798
>>