Don't proceed during integration
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I wrote following code to calculate complex integration but it don't give any answer nor any error i.e. do not proceed what should I do?
syms w e
Hw=((exp(1i.*w)+2)./(exp(1i.*2.*w)+exp(1i.*w)+2));
Dw=((1-e)./(1-e.*exp(-1i.*w)));
Dw1=((1-e)./(1-e.*exp(1i.*w)));
Sww=1./((1-0.5.*exp(-1i.*w)).*(1-0.5.*exp(1i.*w)));
B=Hw./(1-Dw.*Hw);
C=Dw./(1-Dw.*Hw);
X=(Dw.*Hw)./(1-Dw);
AB=abs(B);
AC=abs(C);
AX=abs(X);
F1=Dw1.*(Dw-1).*(AB.^2).*Sww;
F2=(1-Hw).*(AC.^2);
del1=(1./(pi.*(1-e))).*(int(F1,w,-pi,pi));
del2=(1./(pi.*(1-e))).*(int(F2,w,-pi,pi));
del=del1./(1-del2);
Syy=((AB.^2).*Sww)+((AX.^2).*del)
댓글 수: 3
Walter Roberson
2015년 6월 19일
When I use Maple it leaves the two integrals unevaluated, indicating that finding a closed-form solution for the integrals is beyond its capabilities. MuPAD probably cannot find the integrals either.
Note: when you are working with symbolic values, especially in combination with complex values, then using "e" as a variable name gets quite confusing with the use of "e" as the base of the natural logarithms. It is recommended to use a different variable name to reduce confusion.
Muhammad Naveed Iqbal
2015년 6월 20일
Walter Roberson
2015년 6월 20일
What you do is give up on trying to obtain a closed-form symbolic solution. For any given numeric x you can do numeric integration.
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!