Effacer les filtres
Effacer les filtres

To simulate the spectral output of a single microfiber

2 vues (au cours des 30 derniers jours)
Nadiah Zulkeflee
Nadiah Zulkeflee le 4 Oct 2022
Commenté : V Sairam Reddy le 31 Oct 2022
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}

Réponses (1)

V Sairam Reddy
V Sairam Reddy le 19 Oct 2022
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 commentaires
Xorn
Xorn le 31 Oct 2022
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
V Sairam Reddy le 31 Oct 2022
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Atomic, Molecular & Optical dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by