matlab - Double integration using MEX -



matlab - Double integration using MEX -

i need write mex file evaluate double integral of arbitrary function, since in matlab numerical integration slow. far able defining hand possible functions utilize , parse string in mex file take 1 integrate. ugly. send mex file straight function, like

myintmex(@(x,y)f,0,1,0,1)

to integrate function f in interval [0,1]x[0,1].

so far alternative have found mexcallmatlab have read slower pure matlab. have found free code here works single integrals.

so question is: how do it? how give mex file function handle? code exists?

matlab integration anonymous-function mex

Comments

Popular posts from this blog

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -