To perform a quad-summation
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Does anyone have idea how to perform the following summation?
where,
I used the following code-
Phi01=0.4*pi;
Phi02=0.8*pi;
N1=10;
s=0.4;
P1=linspace(-4,4,N1);
i1=0;
for x=P1
i1=i1+1;
tic
syms v1 v m1 m
Bmv=(2*m)-v;
Bm1v1=(2*m1)-v1;
psimvm1v1=((pi*0.5)*(m-m1))-((2*(Bmv-Bm1v1)*(Bmv+Bm1v1+1)*x*(x^2+1)*log(1-s))...
*(((x^2)+(2*Bmv+1)^2)*((x^2)+(2*Bm1v1+1)^2))^(-1));
lambdamvm1v1=((Bmv+Bm1v1+1)*(x^2+1)*(x^2+(2*Bmv+1)*(2*Bm1v1+1)))*((x^2+(2*Bmv+1)^2)*(x^2+(2*Bm1v1+1)^2))^(-1);
Fmvm1v1=((Phi01)^(v+v1)*(Phi02)^(m+m1-v-v1))...
*(factorial(v)*factorial(v1)*factorial(m-v)*factorial(m1-v1)*(Bmv+Bm1v1+1)*(x^2+1)^(Bmv+Bm1v1))^(-1);
S1 = symsum((Fmvm1v1*(1-s)^(lambdamvm1v1)*cos(psimvm1v1)),v1,0,m1);
S2 = symsum(S1,v,0,m);
S3 = symsum(S2,m1,0,17);
S4 = symsum(S3,m,0,17);
T=(s)^(-1)*(1-S4);
T1(i1)=T;
toc
end
plot(P1(1:i1),T1(1:i1),'b','LineWidth',3);
However, this does not work!
6 Commenti
Walter Roberson
il 17 Gen 2020
The graphs look pretty different for fairly small values of s by the way.
Risposte (1)
Vedere anche
Categorie
Scopri di più su Spectral Measurements in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!