Don't proceed during integration
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 19 de Jun. de 2015
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
el 20 de Jun. de 2015
Walter Roberson
el 20 de Jun. de 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.
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!