Path: news.mathworks.com!not-for-mail
From: "Aaron " <macraiga@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: quad2d sfit
Date: Thu, 17 Sep 2009 16:06:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <h8tmp9$4ic$1@fred.mathworks.com>
Reply-To: "Aaron " <macraiga@gmail.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1253203561 4684 172.30.248.38 (17 Sep 2009 16:06:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 17 Sep 2009 16:06:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1637773
Xref: news.mathworks.com comp.soft-sys.matlab:571139


Hi All,

I am looking to integrate the area under a surface fit. I searched for a method to do this and found a page on qyad2d 
http://www.mathworks.com/access/helpdesk/help/toolbox/curvefit/index.html?/access/helpdesk/help/toolbox/curvefit/quad2d.html

which claimed the function quad2d will "Numerically integrate sfit object"

However when I try to run it I get the error message 

"First input argument must be a function handle."

Can anyone explain to me why this is happening, do I need a more recent version of Matlab?

Thanks,
A