area under graph

2 visualizaciones (últimos 30 días)
john
john el 20 de Feb. de 2012
how would I estimate area under curve using matlab?

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 20 de Feb. de 2012
>> doc trapz
ADD
c - your matrix "of flows"
dt = .5 % eg .5 sec
timeColumn = dt*(0:size(c,1)-1).'
  1 comentario
john
john el 20 de Feb. de 2012
thanks, ill look at that later but I was thinking of using an estimation using summation that its equal to sum*dt would there be a simple way of doing this? I have a matrix of flows and want to use one column of them and find the area of the graph of that column vs. time

Iniciar sesión para comentar.

Categorías

Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by