Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Don't proceed during integration

1 visualizzazione (ultimi 30 giorni)
Muhammad Naveed Iqbal
Muhammad Naveed Iqbal il 19 Giu 2015
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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 Commenti
Muhammad Naveed Iqbal
Muhammad Naveed Iqbal il 20 Giu 2015
When I replace the variable "e" to "x" then also it does not proceed further to give any result. What should I do?
Walter Roberson
Walter Roberson il 20 Giu 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.

Risposte (0)

Questa domanda è chiusa.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by