I need to write a matlab code where the using enters real po
I need to write a matlab code where the using enters real power, phase voltage, and power factor. The code should output the reactive power, phase current, and complex power. Prefer matlab code but formula representations on how to obtain these three values are ok.
Solution
consider the input values and write the MATLAB code.
P= 735;
V=22+10i;
PF =0.9779;
Z =20+3i;
I= V/Z
S = V*I % complex power
Q=imag(S)
MATLAB output:

