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 (최근 30일)
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);

답변 (0개)

카테고리

Help CenterFile Exchange에서 Atomic, Molecular & Optical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by