blob: e2efe813a42f951cf70c9630638de5587b8c50c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// Example 4.15.3 page 4.37
clc;
clear;
tau=0.1d-6; //pulse broadning
dist=12d3; //distance
Bopt=1/(2*tau); //computing optical bandwidth
Bopt=Bopt*10^-6;
dispertion=tau/dist; //computing dispersion
dispertion=dispertion*10^12;
BLP=Bopt*dist; //computing Bandwidth length product
BLP=BLP*10^-3;
printf("\noptical bandwidth is %d MHz.\nDispersion per unit length is %.1f ns/km.\nBandwidth length product is %d MHz.km",Bopt,dispertion,BLP);
|