Clear Filters
Clear Filters

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

2 views (last 30 days)

Accepted Answer

Luca Ferro
Luca Ferro on 20 Feb 2023
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 Comments
Jasmine
Jasmine on 21 Feb 2023
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?

Sign in to comment.

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!