Sei sulla pagina 1di 2

6/11/18 03:43 PM MATLAB Command Window 1 of 2

>> clear all


>> %DATOS
>> long=130000;
>> R=0.036*130;
>> L=(0.8*10^-3)*130*377;
>> C=(0.0112*10^-6)*130*377;
>> Z=R+i*L;
>> Yc=i*C;
>> A=(1+(Z*Yc)/2);
>> D=A;
>> B=Z;
>> C1=Yc*(1+(Z*Yc)/4);
>> %CONSTENTES
>> ABCD=[A,B;C1,D]

ABCD =

0.9892 + 0.0013i 4.6800 +39.2080i


-0.0000 + 0.0005i 0.9892 + 0.0013i

>> SR=27:1:270;
>> angulo=acos(0.8):0.007620:acos(-0.8);
>> [real,imaginaria]=pol2cart(angulo,SR);
>> SR1=real+i*imaginaria;
>> VR=(345*10^3/sqrt(3))

VR =

1.9919e+05

>> IR=conj(SR1)/(3*VR);
>> VS=A*VR+B.*IR;
>> IS=C1*VR+D.*IR;
>> SGen=3.*VS.*conj(IS);
>> QS=imag(SGen);
>> plot(SR,QS)
>> Qloss=imag(SGen)-imag(SR1);
>> plot(SR,Qloss,'red')
>> plot(SR,angulo,'red')
>> EJERCICIO _LINEA _DE_MEDIA
Undefined function 'EJERCICIO' for input arguments of type 'char'.

>> plot(SR,Qloss,'red')
>> plot(SR,Qloss,'red')
>> plot(SR,Qloss,'red',SR,angulo)
>> plot(SR,Qloss,'red',SR,angulo,'green')
>> plot(SR,Qloss,'red')
>> hold on
>> plot(SR,angulo)
>> hold on
>> plot(SR,angulo)
6/11/18 03:43 PM MATLAB Command Window 2 of 2

>> plot(imag(SR1),QS)
>> %DATOS = MICHAEL JIMENEZ 8001467
>>

Potrebbero piacerti anche