blob: 381865e9e917bcf9dfe68d7799bd4f0a7617b9d4 (
plain)
1
2
3
4
5
6
7
8
9
|
// Example 6.4.b //optical power loss
clc;
clear;
close;
NA=0.2;//numerical aperture
n=1.4;//refractive index
nc=(NA)^2;//coupling efficiency
Loss=round(-(10*log10(nc)));//optical loss in dB
disp(Loss,"optical loss in dB is")
|