Clear Filters
Clear Filters

Sum of three phasors

3 views (last 30 days)
Ygor Marca
Ygor Marca on 12 Dec 2023
How can I find the phasor Asum∠Bsum analytically and check it in MatLab?
If Asum∠Bsum = A1∠B1 + A2∠B2 + A3∠B3

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 12 Dec 2023
If understood correctly, what you are trying to get is:
A1B1 = 2+3i;
A2B2 = 5+6i;
A3B3 = 1.5 - 3i;
Phase_AsBs = @(a,b,c) (a+b+c);
% Simulate
Phase_AsBs(A1B1, A2B2, A3B3)
ans = 8.5000 + 6.0000i
% Or furhtermore phase ansgles and abs values
Phase_AsBs_Angle_rad = @(a,b,c) [abs(a+b+c), angle(a+b+c)]; % in Radians
disp('Magnitude and Phase angle in Radians')
Magnitude and Phase angle in Radians
Phase_AsBs_Angle_rad(A1B1, A2B2, A3B3)
ans = 1×2
10.4043 0.6147
Phase_AsBs_Angle_deg = @(a,b,c) [abs(a+b+c), atan2d(imag(a+b+c), real(a+b+c))]; % in Degrees
disp('Magnitude and Phase angle in Degrees')
Magnitude and Phase angle in Degrees
Phase_AsBs_Angle_deg(A1B1, A2B2, A3B3)
ans = 1×2
10.4043 35.2176

Categories

Find more on Electrical Block Libraries in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!