cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Integration

Integration

Dear all,

I am having trouble with integrating the area under a curve.
I start with two column vectors of data (or two single column matrices), one for the `X` values and one for the `Y` values and I then do any X - Y graph plot. Because of the limited number of data points that I have, I then use a cubic spline interpolation (using cspline and interp with say 100 points) to give a much smoother fit to the original data set. So far so good, no problems there.
But, no matter how I try, I cannot get Mathcad to Integrate the area under the curve. I have even tried to Integrate the area under the original data set, but still to no avail.
Can someone please tell me where I am going wrong and put me on the right track.
Many thanks,
Neil Moran
3 REPLIES 3

Spline, Integration (plus units)

Hi Neil!
I have solved any task of this kind. See the attached file.
I hope that I help you. You can delete units in my task.
Valery Ochkov
http://twt.mpei.ac.ru/ochkov

Spline, Integration (plus units)

Hi Valery,

Many thanks for your help on my integration problem, which is now solved. It is always seems so obvious when someone else shows you how easily it is done.

Regards,
Neil Moran

Spline, Integration (plus units)

Hi Neil!
I am glad to help you.
See new task - 3D-spline and my messages in Probability & Statistic Forum.

Valery Ochkov
http://twt.mpei.ac.ru/ochkov
Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."