blob: a1ae2a018f00dd8d32b454d29c7417317cc165f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//Page Number: 105
//Example 2.19
clc;
//Given
c=3D+8; //m/s
a=2.29; //cm
b=1.02; //cm
a1=a/100 ;//m
b1=b/100; //m
f=6D+9; //Hz
e=1;
mu=1/(c^2);
//Cut off frequency
lamc=2*a1;
fc=c/lamc;
w=2*%pi*fc;
//Attenuation constant
a=(w*sqrt(1-((f/fc)^2)))/c;;
adb=-20*log10(exp(-a));
disp('dB/m',adb,'Attenuation constant:');
|