blob: 2f644506fd3974c110ed3710fb19c5c7a847b704 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
clc
//Chapter8
//Example8.22, page no352
//Given
Zin=25+%i*15// Internal Impedance
Zr=70-%i*42//load
f=3e6//operating freq
v=3e8//light velocity
L=v/(4*f)//length of the line
Zo=sqrt(Zin*Zr)//Characteristic Impedance
mprintf('The lrngth should be %d metres\nThe Characteristic Impedance should be %f ohms',L,Zo)
|