blob: 00fbd8d003a7128e97dd952b6c9e6548f64d562c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//Example 3.5
//Program to estimate
//(a)The maximum possible bandwidth on the link assuming no ISI
//(b)The pulse dispersion per unit length
//(c)The bandwidth-length product for the fiber
clear;
clc ;
close ;
//Given data
tau=0.1*10^(-6); //second - TOTAL PULSE BROADENING
L=15; //km - DISTANCE
//(a)The maximum possible bandwidth on the link assuming no ISI
B_opt=1/(2*tau);
//(b)The pulse dispersion per unit length
Dispersion=tau/L;
//(c)The bandwidth-length product for the fiber
B_optXL=B_opt*L;
//Displaying the Results in Command Window
printf("\n\n\t (a)The maximum possible bandwidth on the link assuming no ISI is %1.0f MHz.",B_opt/10^6);
printf("\n\n\t (b)The pulse dispersion per unit length is %0.2f ns/km.",Dispersion/10^(-9));
printf("\n\n\t (c)The bandwidth-length product for the fiber is %1.0f MHz km.",B_optXL/10^6);
|