Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is wrong with this integral

Status
Not open for further replies.

misty83

Bioengineer
Joined
Mar 4, 2008
Messages
1
Location
BE
hi, i found in spline-toolbox something to count the
definite integral over the interval [a..b]:

fnval(fnint(f), [a b])*[-1;1]

where f is a spline, fnint(f) is a indefinite integral of a
spline, [a b] are my limits (first and the last break).
but when i count it i got two values..

1.0e+004 *

1.2158
1.0996

as i noticed later, the number of values i get depends on dimension of the spline. i was checking for a spline dim=2 and i got two values counting that integral. when i checked for a spline dim=1, than i got 1 value, for a spline dim=3, three values.. do anyone can explain my why? and how to get one value of my 2dimension spline (which means my area of the spline)?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top