文件名称:NIT工具箱 MATLAB
文件大小:27KB
文件格式:ZIP
更新时间:2015-01-16 15:25:49
MATLAB NIT
function int = quad2dggen(fun,xlow,xhigh,ylow,yhigh,tol) %usage: int = quad2dggen('Fun','funxlow','funxhigh',ylow,yhigh) %or % int = quad2dggen('Fun','funxlow','funxhigh',ylow,yhigh,tol) % %This function is similar to QUAD or QUAD8 for 2-dimensional integration %over a general 2-dimensional region, but it uses a Gaussian quadrature %integration scheme. %The integral is like: % yhigh funxhigh(y) % int = Int Int Fun(x,y) dx dy % ylow funxlow(y) % % int -- value of the integral % Fun -- Fun(x,y) (function to be integrated) % funxlow -- funxlow(y) % funxhigh-- funxhigh(y) % ylow -- lower y limit of integration % yhigh -- upper y limit of integration % tol -- tolerance parameter (optional) %Note that if there are discontinuities the region of integration %should be broken up into separate pieces. And if there are singularities, %a more appropriate integration quadrature should be used %(such as the Gauss-Chebyshev for a specific type of singularity). %This routine could be optimized.
【文件预览】:
NIT工具箱
----cquadnd.m(825B)
----glimh2.m(51B)
----quadg.m(2KB)
----gquad.m(2KB)
----gquadnd.m(818B)
----testsqg.log(2KB)
----zero_cnt.m(150B)
----hx.m(53B)
----count.m(123B)
----readme.nit(1KB)
----gxy1.m(76B)
----contents.m(4KB)
----lcrcl.m(66B)
----quad2dgg.m(2KB)
----test_qg.m(121B)
----grule2d.m(239B)
----xsquar.m(31B)
----gcrule2d.m(239B)
----gquad2dg.m(2KB)
----quad2dgc.m(2KB)
----fxpow2.m(55B)
----test_2d.m(3KB)
----fxpow.m(51B)
----quad2dg.m(2KB)
----crule2d.m(239B)
----lcrcu.m(65B)
----x25.m(56B)
----testsnc.log(2KB)
----gxy2.m(82B)
----quad2dc.m(2KB)
----grule.m(1KB)
----gliml.m(51B)
----xcubed.m(53B)
----quadc.m(2KB)
----tests2d.log(1KB)
----gxy.m(80B)
----test_nc.m(1KB)
----crule.m(1KB)
----gquad2d.m(2KB)
----gquad2d6.m(1KB)
----innerfun.m(645B)
----crule2dg.m(175B)
----grule2dg.m(175B)
----readme(715B)
----run.log(3KB)
----glimh.m(51B)
----quad2dcg.m(2KB)
----ncrule.m(1KB)
----quadndg.m(2KB)
----gquad6.m(2KB)