• 博客(0)
  • 资源 (2)

空空如也

NIT工具箱 MATLAB

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.

2011-12-27

getTableDataScript

MATLAB 读取网页数据 function out = getHTMLTable(tableID) % Get the HTML text from the browser window and conver to MATLAB character % array activeBrowser = com.mathworks.mde.webbrowser.WebBrowser.getActiveBrowser; pageString = reshape(activeBrowser.getHtmlText.toCharArray, 1, []); % Pattern for finding MATLAB hooks pattern = ['<a

2011-12-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除