s-news
[Top] [All Lists]

Area between curves

To: s-news@wubios.wustl.edu
Subject: Area between curves
From: Jason Connor <jconnor@bio.ri.ccf.org>
Date: Mon, 16 Apr 2001 16:21:24 -0400 (EDT)

Say I have have vectors y1 and y2 and corresponding vector x.

Plotting y1 vs. x and y2 vs. x, the two curves may or may not cross.

Does anyone have a function that quickly calculates the area between the
curves betwen min(x) and max(x)?

Thank you.




<Prev in Thread] Current Thread [Next in Thread>