Numerical integration
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to integrate numerically f(x,y) with respect to x keeping y constant. Can quad do it with some modifications?
Any other ideas??
0 commentaires
Réponses (2)
Andrei Bobrov
le 27 Juil 2011
y = 5; %eg: y-constant
quad(@(x)f(x,y),xmin,xmax)
4 commentaires
Mike Hosea
le 2 Août 2011
Not for *all* f(x,y), but almost certainly for *your* f(x,y). See Fubini's theorem, for example.
Innocent
le 2 Août 2011
Hi Yan, i did post an example of simple code under newsgroup follow the link bellow to check it out.
0 commentaires
Voir également
Catégories
En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!