misty83
Bioengineer
- Mar 4, 2008
- 1
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)?
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)?