Please send me some feedback
creatingrf [@] gmail.com
~ Octave
~ Meep
~ MPB



Matlab vs Octave
Octave Intro
Toolbox Examples
Toolbox Download

calcBJTBiasBasic.m
calcCascadedNoise.m
calcMicrostripEL.m
calcMicrostripEre.m
calcMicrostripL.m
calcMicrostripMenu.m
calcMicrostripW.m
calcMicrostripZo.m
calcStabilityCircles.m
calcVSWRcircle.m
csv2mdf.m
db2r.m
dbm2watt.m
example1.m
example2.m
example3.m
example4.m
gamma2rl2vswr.m
gammaLoad2gammaIn.m
getFreqDistribution.m
getNextPlotStyle.m
getRandomColor.m
gtoz.m
importCsvColData.m
importCsvFolder.m
importS2P.m
listDir.m
loadMdf.m
materialProperties.m
plotStabilityCircles.m
ptor.m
r2db.m
rtop.m
saveMdf.m
scAddCircle.m
scAddLabels.m
scAddPoint.m
scCreate.m
singleFreqSparams.m
testStability.m
watt2dbm.m
ztog.m


ztog.m

%%%%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%%%%
%%%% Convert impedance to reflection coeff.
%%%%
%%%% Input:          
%%%% ZL - load impedance
%%%% zL - load impedance (normalized)
%%%% Zo - characteristic impedance
%%%%
%%%% Output:
%%%% reflmag = reflection coeff. magnitude
%%%% reflang = reflection coeff. angle
%%%%
%%%% Usage:
%%%% 1 Argument
%%%% -> assumed to be normalized impedance
%%%% -> [reflmag,reflang] = ztog(zL)
%%%%
%%%% 2 Arguments
%%%% -> first argument is assumed to be an unnomalized impedance
%%%% -> second argument is assumed to be the characteristic impedance
%%%% -> [reflmag,reflang] = ztog(ZL,Zo)
%%%%
%%%% Example:
%%%% Zo = 50;
%%%% ZL = 20+10i;
%%%% [reflmag,reflang] = ztog(ZL,Zo)
%%%% zL = ZL/Zo;
%%%% [reflmag,reflang] = ztog(zL)
%%%%
%%%% curtis | creatingrf[@]gmail.com
%%%% gtoz.m
%%%% Last Edited: 6/14/12
%%%% Octave tested: 9/1/13
%%%% Matlab tested: 6/14/12
%%%%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Questions/comments:
CREATINGRF [at] GMAIL.COM