Plot whole integration process

1 visualización (últimos 30 días)
Simon
Simon el 30 de Jun. de 2014
Comentada: Simon el 30 de Jun. de 2014
Hi all,
How do I plot a whole Integration process like displayed in the picture? (thin blue graph) My data are from vectors x=[TIME], y=[POWER], so I can see the energy consumption at a certain time. I tried to use trapz, but it just gives me the final value.
Thanks!
Simon

Respuesta aceptada

A Jenkins
A Jenkins el 30 de Jun. de 2014
Do you want the cumulative integral?
help cumtrapz
  1 comentario
Simon
Simon el 30 de Jun. de 2014
Oh didn't find that one... Thanks!

Iniciar sesión para comentar.

Más respuestas (0)

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