Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

can anyone help me in this RF code?

Status
Not open for further replies.

simon yong

Newbie level 5
Joined
Mar 9, 2008
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,343
GapCurrent = sum(output(Index).*geom.EdgeLength(Index)');
Impedance = GapVoltage/GapCurrent;
Resistance(m) = max(real(Impedance), 0);
Reactance(m) = imag(Impedance);
GAMMA = (Impedance-50)/(Impedance+50);
S11(m) = 20*log10(abs(GAMMA));
VSWR(m) = (1 + abs(GAMMA))/(1 - abs(GAMMA));
FeedPower(m) = 1/2*real(GapCurrent*conj(GapVoltage));
frequency(m) = f_re;


i get this code in a e book but it did not explain to me about the code
it was a matlab code
i wanna ask for: FeedPower(m) = 1/2*real(GapCurrent*conj(GapVoltage))
what is the meaning for the "real"?

VSWR(m) = (1 + abs(GAMMA))/(1 - abs(GAMMA))
and what meaning is for the "abs"?

thanks for help
 

"real" is taking the real part of the argument
"abs" is taking the magnitude of it. Z = R +jX, so abs(Z) is square root of (R^2 + X^2)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top