blob: 39df7da91ad41000628d465bce7e8fb7912c663c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//Introduction to Fiber Optics by A. Ghatak and K. Thyagarajan, Cambridge, New Delhi, 1999
//Example 13.2
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
B=2.5e9;//pulse rate of signal in bits/sec
mprintf("\n In the RZ format, we would require a bandwidth = %.2f GHz",B/1e9);//In RZ format, Deltaf=B and Division by 10^9 to convert into GHz
mprintf("\n In the NRZ format, we would require a bandwidth = %.2f GHz",(B/2)/1e9);//In RZ format, Deltaf=B/2 and Division by 10^9 to convert into GHz
|