need to use double quad function for four integration with four unknowns
Ältere Kommentare anzeigen
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 Kommentare
Mohamed
am 23 Sep. 2012
Mike Hosea
am 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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!