AREA_UNDER_CURVE
Display Area Between Y=F(X) and X Axis.


AREA_UNDER_CURVE is a MATLAB function which displays the area under a curve, that is, the points (x,y) between the X axis and the curve Y=F(X).

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

AREA_UNDER_CURVE is available in a MATLAB version.

Related Data and Programs:

HISTOGRAM_DISPLAY, a MATLAB program which makes a bar plot of a set of data stored as columns in a file; the first column is the X values, and all the other columns are Y values to be shown as a stack of bars;

LAGRANGE_BASIS_DISPLAY, a MATLAB library which displays the basis functions associated with a given set of nodes used with the Lagrange interpolation scheme.

MOC_DISPLAY, a MATLAB program which estimates and displays the modulus of continuity function for a given function F(X) over a finite interval [A,B], using N sample values.

PWC_PLOT, a MATLAB library which converts the definition of a piecewise constant function into plottable data.

Source Code:

Examples and Tests:

F1 is the function y=3/4 (1-x^2), between -1.5 and +1.5.

F2 is the function y=2x between 0.0 and +1.0.

F3 is the function y=exp(-x) between 0.0 and +3.0.

F4 is the function y=exp(-0.5*(x-5)^2) between 0.0 and +7.0.

You can go up one level to the MATLAB source codes.


Last revised on 24 February 2013.