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 Center および File ExchangeNumerical Integration and Differentiation についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by