need to use double quad function for four integration with four unknowns
Afficher commentaires plus anciens
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 commentaires
Mohamed
le 23 Sep 2012
Mike Hosea
le 23 Sep 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.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Operators and Elementary Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!