- #1
Billy70
- 4
- 0
Hello
Firstly apologies for what seems like an extremely fundamental question, it's been a while since I've done any calculus!
I'm currently using a program to fit data with a two dimensional 3 degree polynomial curve( which outputs the fit in the following format) with the aim of calculating the volume between the curve and the baseline:
z = a + bx + cy + d(x^2) + exy + f(y^2) + g(x^3) + h(x^2y) + i(xy^2) + j(y^3)
However I'm struggling to integrate this w.r.t. dydx within the fit range, having previously only calculated areas in this way.
An ideal solution would be to calculate the volume by inputting the constants into a script,as is possible with two dimensional Gaussians. Since there are >200 curves to analyse per dataset so integrating each fit manually will be extremely labour intensive!
Thanks in advance for any replies,
Billy
Firstly apologies for what seems like an extremely fundamental question, it's been a while since I've done any calculus!
I'm currently using a program to fit data with a two dimensional 3 degree polynomial curve( which outputs the fit in the following format) with the aim of calculating the volume between the curve and the baseline:
z = a + bx + cy + d(x^2) + exy + f(y^2) + g(x^3) + h(x^2y) + i(xy^2) + j(y^3)
However I'm struggling to integrate this w.r.t. dydx within the fit range, having previously only calculated areas in this way.
An ideal solution would be to calculate the volume by inputting the constants into a script,as is possible with two dimensional Gaussians. Since there are >200 curves to analyse per dataset so integrating each fit manually will be extremely labour intensive!
Thanks in advance for any replies,
Billy