Area under a curve from a set of data points

조회 수: 1 (최근 30일)
richard
richard 2013년 4월 15일
Hello
I have a 'n x 8' matrix with with each column representing the radioactivity in a certain organ and the rows correspond to activity at a certain time (1-10 days)
so it goes like this
A = [1 2 3 4 5 6 7 8;........;........;
where the values represent the radioactivity in eight different organs. And there are a bunch of rows corresponding to the time elapsed and the activity at those times. Make sense??
I plotted this out and my next task is to find the area under each of the data points so I want 8 different values for the integral under each of the 8 organ curves. Any idea on how to do this?
I am looking at the help site, and all they give for examples are actual functions (ex. sin(x^2), e^(-x^2) etc.) In my case I only have sets of data points with no actual function fitted to them. Any help will be appreciated

채택된 답변

Matt J
Matt J 2013년 4월 15일
Use TRAPZ

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differentiation에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by