I need the matlab code for the following equation. The values of the parameters in the equation is given .

2 次查看(过去 30 天)

采纳的回答

Luca Ferro
Luca Ferro 2023-2-20
try with this, assuming that the units don't need conversion :
syms t
mu=200; %cm^2*V^-1 * s^-1
R = 0.318;
alpha= 6000; %cm^-1
taul= 100; %fs
tauc= 1; %ps
W=10; %micro m
L=10; %micro m
Tlt=1 %micro m
V=30; %V
vopt=375 %THz
g= (W/L) * exp(1)*mu*I*exp(-2) *(1-R)*(1-exp(alpha*Tlt))*(sqrt(2*pi)/4*h*vopt)*taul*exp((-taul^2)/(8*tauc^2) -t/tauc)* erf((sqrt(2)*t/taul - sqrt(2)*taul/(4*tauc))+1)
note that i think im missing a value for I and h that are not in the input parameters given
  4 个评论
Jasmine
Jasmine 2023-2-21
syms t
mu=200; %cm^2*V^-1 * s^-1
R = 0.318;
pi=3.14;
alpha= 6000; %cm^-1
taul= 100; %fs
tauc= 1; %ps
W=10; %micro m
L=10; %micro m
Tlt=1 %micro m
V=30; %V
vopt=375 %THz
e=1.602*(10^-19);
t=linspace(-300*(10^-15),300*(10^-15),100);
h=6.626.*(10.^-34);
I=1.052.*(10.^15);
g=(W/L).*e.*mu.*I.*exp(-2).*(1-R).*(1-exp(alpha.*Tlt)).*(sqrt(2.*pi)/4.*h.*vopt).*taul.*exp((-taul.^2)/(8.*tauc.^2)-t/tauc).*erf((sqrt(2).*t/taul-sqrt(2).*taul/(4.*tauc))+1)
plot(g,t)
Is this correct?

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by