blob: 8cc6eaef167ea5cf1dcfa774f778fc42629018d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Chapter 3 example 22
//------------------------------------------------------------------------------
clc;
clear;
// Given data
er = 9; // relative permittivity
c = 3*10^10; // velocity of EM wave in free space
f = 2*10^9; // operating frequency in Ghz
a = 7; // width of waveguide in cm
b = 3.5; // narrow dimension of waveguide in cm
// calculations
lamda_c = 2*a; // cut-off wavelength in dominant mode
fc = c/lamda_c // cut-off frequency in Hz
lamda = c/(sqrt(er)*f); // operating wavelength
lamda_g = lamda/(sqrt(1 - (lamda/lamda_c)^2)) // guide wavelength
Vp = (lamda_g/lamda)*c
// Output
mprintf('Cut-off frequency = %3.3f Ghz\n Phase velocity = %3.2e m/s\n Guide wavelength = %3.2f cm',fc/10^9,Vp/10^2,lamda_g);
//------------------------------------------------------------------------------
|