need to use double quad function for four integration with four unknowns
Show older comments
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 Comments
Mohamed
on 23 Sep 2012
Mike Hosea
on 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.
Accepted Answer
More Answers (0)
Categories
Find more on Operators and Elementary Operations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!