From: "Steve Amphlett" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Area inside a closed curve
Date: Wed, 4 Aug 2010 04:58:04 +0000 (UTC)
Organization: Ricardo UK Ltd
Lines: 8
Message-ID: <i3as0s$gpi$>
References: <i364ls$nh3$>
Reply-To: "Steve Amphlett" <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1280897884 17202 (4 Aug 2010 04:58:04 GMT)
NNTP-Posting-Date: Wed, 4 Aug 2010 04:58:04 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 43398
Xref: comp.soft-sys.matlab:658873

"Ray Goldman" <> wrote in message <i364ls$nh3$>...
> Hello,
> I hope you guys can help, I have a closed curve I need to fine its area. I have two arrays (Flux, Current) that contain the data of the graph. the graph is simply drawn using Plot..
> when they are plotted against each other, they produce something like upside down cone, however, the shape is very irregular and has lots of dents.
> is there any functions that calculates the area inside the closed curve? Thank you so much in advance.

Others have given you code.  If you want to know the background to it, look up "Green's Theorem" and "planimeter".  All very elegant and satisfying.