Area under a curve from a set of data points

3 vues (au cours des 30 derniers jours)
richard
richard le 15 Avr 2013
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

Réponse acceptée

Matt J
Matt J le 15 Avr 2013
Use TRAPZ

Plus de réponses (0)

Catégories

En savoir plus sur Numerical Integration and Differentiation dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by