I need the matlab code for the following equation. The values of the parameters in the equation is given .
2 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1300915/image.png)
0 Comments
Accepted Answer
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
More Answers (0)
See Also
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!