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개)

카테고리

Help CenterFile Exchange에서 Antenna and Array Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by