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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -