blob: dee1df43ee66858d32f229c9dd0989ac44cad018 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//clear//
//Caption: Finding mean frequency spacing
//Example10.2
//page 343
clear;
clc;
close;
C = 3e08; //free space velocity
delta_Lambda = 0.8e-09; //spectral band in meter
Lambda = 1550e-09;//wavelength in meter
delta_v = C*delta_Lambda/Lambda^2;
disp(ceil(delta_v*1e-09),'Mean Frequency spacing in GHz =')
//Result
// Mean Frequency spacing in GHz = 100.
|