Area under a curve from a set of data points

1 次查看(过去 30 天)
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