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


gamma2rl2vswr.m

%%%%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%%%%
%%%% Convert between gamma, return loss, and VSWR
%%%%
%%%% Inputs:
%%%% argument 1: 'gamma', 'rl', or 'vswr'
%%%% argument 2: numerical value
%%%%
%%%% Outputs:
%%%% [gamma, RL(db), vswr]
%%%%
%%%% Usage:
%%%% [gamma,RL,vswr] = gamma2rl2vswr('gamma',0.333)
%%%% [gamma,RL,vswr] = gamma2rl2vswr('RL',11.3)
%%%% [gamma,RL,vswr] = gamma2rl2vswr('vswr',2)
%%%%
%%%% If the function is called with a number of arguments other than 2, it will
%%%% calculate a range of values. The full matrix will be
%%%% printed to the terminal and each return variable will be an
%%%% array of related values.
%%%% Usage:
%%%% [gamma,RL,vswr] = gamma2rl2vswr
%%%%
%%%% Accepted values for first argument.....
%%%% To enter gamma: 'gamma','Gamma','refl_coef'
%%%% To enter return_loss: 'rl','RL','Rl','return_loss','Return_Loss'
%%%% To enter vswr: 'VSWR','Vswr','vswr'
%%%%
%%%% Notes:
%%%% gamma is another name for the reflection coeff.
%%%% gamma is a scalar magnitude value. No angle needed.
%%%%
%%%% curtis | creatingrf[@]gmail.com
%%%% gamma2rf2vswr.m
%%%% Last Edited: 6/14/12
%%%% Octave tested: 9/1/13
%%%% Matlab tested: 6/14/12
%%%%~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Questions/comments:
CREATINGRF [at] GMAIL.COM