Community Profile

photo

GAYTRI ARYA


Last seen: 6 months ago Active since 2021

Statistics

  • Thankful Level 1

View badges

Content Feed

View by

Question


Problem in solving integration inside the for loop
for i=1:6 for j=1:6 f1=@(phi1)(cos(phi1)*i)+2*j; F=integral(@(phi1)f1,0,1); end end This is the small model...

6 months ago | 1 answer | 0

1

answer

Question


Need to apply trapezoidal rule for double integration with an array by using the for loop
z=(0:0.1:10); F1= @(r1,r2)exp(-(r1.^2+r2.^2).*A).*exp(-i*B.*z.*(r1.^2+r2.^2)).*besseli(n,r1.*r2./(sig^2)).*r1.*r2; I want to...

7 months ago | 1 answer | 0

1

answer