Code covered by the BSD License
function a = boundaryArea(Y,X,lb,ub,limitFunction) % Copyright 2009 The MathWorks, Inc. %% Calculate Boundary Area for X [xb,P,ab] = boundarySearch(X,lb,ub,@(X)limitFunction(X,Y), 'showplot','ptol',0.1); %% Area a = sum(ab);
Contact us at files@mathworks.com