Azzera filtri
Azzera filtri

this code simulating laser output power respect to time for different laser dimensions length, width and diameter of cavity. Can anyone explain indetail this part of the code

2 visualizzazioni (ultimi 30 giorni)
LL=[250E-6, 250E-6, 500E-6, 500E-6, 250E-6, 500E-6]; %cavity length
ww=[5E-6, 10E-6, 5E-6, 10E-6, 5E-6, 10E-6]; %cavity width
dd=[0.2E-6, 0.2E-6, 0.2E-6, 0.2E-6, 0.1E-6, 0.1E-6]; %cavity diameter
for iii=1:length(LL)
ti = 0;
tf = 2.50E-9;
tspan=[ti tf];
y0=[0; 0; 0];
V=LL(iii)*ww(iii)*dd(iii);
[T,Y]= ode45(@(t,y) rate_eq(t,y,V),tspan,y0);

Risposte (0)

Categorie

Scopri di più su Atomic, Molecular & Optical in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by