Numerical integration
Mostra commenti meno recenti
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??
Risposte (2)
Andrei Bobrov
il 27 Lug 2011
y = 5; %eg: y-constant
quad(@(x)f(x,y),xmin,xmax)
4 Commenti
R yan
il 27 Lug 2011
Andrei Bobrov
il 27 Lug 2011
doc dblquad
q = dblquad(f,xmin,xmax,ymin,ymax)
R yan
il 28 Lug 2011
Mike Hosea
il 2 Ago 2011
Not for *all* f(x,y), but almost certainly for *your* f(x,y). See Fubini's theorem, for example.
Innocent
il 2 Ago 2011
0 voti
Hi Yan, i did post an example of simple code under newsgroup follow the link bellow to check it out.
Categorie
Scopri di più su Propagation and Channel Models in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!