How to integrate the following function

1 次查看(过去 30 天)
e = 0:0.2:10;
for ii = 1:length(e)
k = sqrt(2.*e(ii));
q = sqrt(2.*(e(ii)+(V0./2)));
r = sqrt(2.*(e(ii)+V0));
a = ((r+q+(2.*s1.*lambda)).*(k+q+(2.*s1.*lambda)).*expm(s1.*(r-q).*0.48)) - ((r-q+ (2.*s1.*lambda)).*(k-q+2.*s1.*lambda).*expm(s1.*(r+q).*0.48));
Trans = (4.*k.*q)./a;
wfn = Trans.*conj(Trans);
posit1(ii) = e(ii);
wfn1(ii)= wfn;
end
I have the following code running. i wanna integrate the wfn variable with respect to e, between certain limits. Please help me with the code.
Thannks,
Parikshit

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by