How to integrate the following function
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!