blob: ae3151a734f88299150e419fcbf5bab2f3d78e78 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Chapter 3 example 4
//------------------------------------------------------------------------------
clc;
clear;
// Given data
RmsVmax = 100; // max value of RMS vtg
RmsVmin = 25; // min value of RMS vtg
Zl = 300; // load impedance in ohm
// Calculations
VSWR = RmsVmax/RmsVmin;
// wkt VSWR = Zl/Zo; assuming Zl > Zo
Zo = Zl/VSWR; // charecteristic impedance in ohm
p = (Zl - Zo)/(Zl + Zo); // reflection co-efficient
// Output
mprintf('Reflection Co-efficient = %3.1f\n Charecteristic impedance = %d ohm',p,Zo);
//------------------------------------------------------------------------------
|