To simulate the spectral output of a single microfiber
1 次查看(过去 30 天)
显示 更早的评论
I need help on how to do the code for each formula below by using the dummy value also can just to know the the effects of microfiber geometry such as waist diameter and waist length towards the spectrum. I have did the code for each formula equation but didnt know how to start to code.

Penetration Depth
d_p=\frac{\lambda}{2\pi\left(n_1^2\sin^2\theta_{\mathrm{int}}-n_{aq}^2\right)^{\frac{1}{2}}}
Intensity of the Output
I=I_1+I_2+2\sqrt{I_1I_2\cos(\Delta\Phi)}
Phase Shift Between Two Modes
\Delta\Phi=\left[\frac{2\pi(\Delta n_\mathrm{eff})L_w}{\lambda}\right]
Fringe Spacing Between 2 Interferences Patern
\Lambda=\frac{\lambda^2}{(\Delta n_\mathrm{eff})L_w}
0 个评论
回答(1 个)
V Sairam Reddy
2022-10-19
I understand that you want to code each of the formulas using dummy values. Please follow the below code :
% Assuming required values for Penetration Depth.
lambda = 10e-9;
n1 = 0.4;
n_aq = 0.6;
theta_int = 60*pi/180; % in degrees.
% Penetration Depth.
d_p = lambda/(2*pi*sqrt( (n1^2) * ((sin(theta_int))^2) - (n_aq^2) ));
% Assuming required values for Intensity of the Output.
I1 = 0.6;
I2 = 0.4;
delta_phi = 30*pi/180;
% Intensity of the Output.
I = I1 + I2 + 2*sqrt(I1*I2*cos(delta_phi));
% Assuming required values for Phase Shift between two modes
delta_n_eff = 0.2;
L_w = 2;
% Phase shift between two modes
delta_phi = (2*pi*delta_n_eff*L_w)/lambda;
% Fringe Spacing between two interferences pattern
L_Lambda = lambda^2/(delta_n_eff*L_w);
Hope this helps. If anything needs to be implemented in any other way, please let me know so I can assist you further.
2 个评论
Xorn
2022-10-31
Hi Mr Sairam, what if i want to relate it with transmission spectrum for different parameter of waist length and waist diameter? Example like the image down below. Like how to plot it on matlab by relate it to the codes above?

V Sairam Reddy
2022-10-31
Hi,
Can you please provide more information regarding how Transmission spectra of tapers is related to different parameters like waist diameter, solid waist lengths and wave length ?
If there exists a numerical formula, one can easily code it taking wave length parameter as a vector.
I highly recommend you to take this free and official MATLAB Onramp course to get familiar with MATLAB.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!