Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)

Réponse acceptée

Luca Ferro
Luca Ferro le 20 Fév 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 commentaires
Jasmine
Jasmine le 21 Fév 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?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by