Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.


ghasem
Posts:
102
Registered:
4/13/13


how do the integration?
Posted:
May 18, 2013 10:10 AM


Hi. I have a simple question about integral. I have to calculate following integral and next plot it versus theta.my function is: f1 = I(z)*sin(theta)*exp(jk*z*cos(theta) f2 = integral ( f1 , dz) where: lower limit of integral : z=0 upper limit of integral : z = 0.7 z= linspace(0,0.7,100); theta = linspace(0,2*pi,360); k = a given constant. I(z) = is a given vector same length with z => length(I(z)) = length(z) NOW: I have to plot "f2(theta)" versus "theta" in a polar diagram. How can I do it? I used from " f2 = trapz(z,f1)" for integration and next plot "f2" versus "theta". is there any better method? thanks...



