Dblquad
The intention is to make a more flexible and more general function than the Matlab function dblquad. Especially the domain may be given in a more general way, it may be a circle, a rectangle, or any convex polygon. Also different methods may be used. Q = DOUBLEINTEGRAL(FUN, DOMAIN, PARAM) FUN is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): doubleintegral Download |
scatterquad2(X,Y,Z) finds the volume under the surface defined by the points (X(i),Y(i),Z(i)) with linear interpolation on the Delaunay triangulation of (X,Y) and Z=0 outside the convex hull of (X,Y).Example:load seamountscatterquad2(x,y,z-min(z)) % returns 190.7996inR = (x>=211.1 & x=-48.35 & y
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): scatterquad2 Download |
Evaluation of double integrals by iterated integration. This is asimple extension of DBLQUAD to non-rectangular regions of the types D1 = {(x,y): a < x < b, c(x) < y < d(x)}, D2 = {(x,y): a(y) < x < b(y), c < y < d}.DQUAD uses a 1D quadrature function to evaluate the iterated integrals.Default...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): DQUAD Download |
Fast, fully vectorised version of the Simpson's method for 2D domains. This code avoids the use of any for loops etc. For a given level of accuracy it can be an order of magnitude or more faster than dblquad.Examples are provided within the code.Useage:ans = simp2D('func',xs,xe,ys,ye,NX,NY)Input...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): 2D Simpson's Integrator Download |