Info
This question is closed. Reopen it to edit or answer.
Don't proceed during integration
2 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 20 Jun 2015
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.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!