need to use double quad function for four integration with four unknowns
Mostrar comentarios más antiguos
I need to write the correct command that enables me to use the "dblquad" function to solve four integrations with four different variables.
for example: yy = dblquad(....dblquad(@myfun,0,2*pi,0,2*pi))
now the funtion myfun contains phi1,phi2,phi3,phi4 four different variables.
The command line I wrote is not yet complete and I am not sure if it is correct or not.
The myfun should it be then written as follow y = myfun(phi1,phi2,phi3,phi4)
Please I need an answer ASAP
Thank you
2 comentarios
Mohamed
el 23 de Sept. de 2012
Mike Hosea
el 23 de Sept. de 2012
I rather doubt 8 nested integrals is practical. You might want to look into sparse grid methods, such as can be found at http://sparse-grids.de/ . Your integrand will need to be well-behaved.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!