integral2 in matlab 2010

 采纳的回答

Sean de Wolski
Sean de Wolski 2012-5-2

0 个投票

If your company/university/employer is current on their SMS subscription, you can download the latest versions from:

更多回答(1 个)

the cyclist
the cyclist 2012-5-2

0 个投票

dblquad

7 个评论

But as I know dblquand can not be used when the bounds are infinite
Please consider editing your question so that it includes all the relevant details, rather than writing the briefest possible question (which tends to elicit the briefest possible answer).
Sory! I need a function to clculate a double integral when the lower bound is negative infinity. As I unerstand interal2 function allows this, but I have mahlab 2010. So if its possible could You help me?
You could always upgrade to R2012a!
And how?
dblquad() allows you to specify the integration method, which could be quadgk() (possibly with a wrapper added to account for vector valued or scalar valued.)
Do you mean I can use an expression like this?
fun=@(x,y)exp(-(x.^2-2*ro*x*y+y.^2)/2*(1-ro).^2);
q=dblquad(fun,-Inf,0,-Inf,0,[],quadgk(),0.5)

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by