I did a symbolic integration for the limit of variables defined as (f(eta,w),eta, etamin, etamax,w, wmin,wmax) and obtained the result.
result(eta,w)=int(int(- 25*abs(sin(eta))*((25*abs(cos(w))*sign(cos(eta))^2*sign(cos(w))*sin(eta) + 50*abs(cos(eta))*dirac(cos(eta))*abs(cos(w))*sign(cos(w))*sin(eta))*(25*abs(cos(eta))*sign(cos(eta))*sign(sin(w))^2*cos(w) + 50*abs(cos(eta))*sign(cos(eta))*abs(sin(w))*dirac(sin(w))*cos(w)) + (25*sign(cos(eta))^2*abs(sin(w))*sign(sin(w))*sin(eta) + 50*abs(cos(eta))*dirac(cos(eta))*abs(sin(w))*sign(sin(w))*sin(eta))*(25*abs(cos(eta))*sign(cos(eta))*sign(cos(w))^2*sin(w) + 50*abs(cos(eta))*abs(cos(w))*sign(cos(eta))*dirac(cos(w))*sin(w))) - 25*abs(cos(eta))*abs(cos(w))*(25*sign(sin(eta))^2*cos(eta) + 50*abs(sin(eta))*dirac(sin(eta))*cos(eta))*(25*abs(cos(eta))*sign(cos(eta))*sign(sin(w))^2*cos(w) + 50*abs(cos(eta))*sign(cos(eta))*abs(sin(w))*dirac(sin(w))*cos(w)) - 25*abs(cos(eta))*abs(sin(w))*(25*sign(sin(eta))^2*cos(eta) + 50*abs(sin(eta))*dirac(sin(eta))*cos(eta))*(25*abs(cos(eta))*sign(cos(eta))*sign(cos(w))^2*sin(w) + 50*abs(cos(eta))*abs(cos(w))*sign(cos(eta))*dirac(cos(w))*sin(w)), w, -pi/2, pi/\\\r\n2), eta, -pi, pi)
When I run this function in a for loop Matlab itself cant recognize the portion in limit
.... w, -pi/2, pi/\\\r\n2), eta, -pi, pi)
What's going on? How to make it correct?
Best Answer