Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How can I solve this problem?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
when I try to solve summation of double ontegration with a loop I got this error
Struct contents reference from a non-struct array object.
time_total=10; %100 seconds
dt=1; %step size in the t direction (time in seconds)
tmesh=0:dt:time_total; %iterates up to 100 seconds
tskip=2;
nt=length(tmesh);
for i = 1:nt ;
for p=1:10;
q (i) = integral2(@(phi,y) exp(-tmesh(i).*y./sin(phi)).*(1-y).^2.*cos(phi).^2.*sin(phi).*phi,0,pi/2,0,1);
V(i) = symsum(tmesh(i).p.^(tmesh(i)-1).*q(i));
end
end
0 comentarios
Respuestas (0)
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!