How to find the integral of some values?

3 visualizaciones (últimos 30 días)
RoBoTBoY
RoBoTBoY el 27 de Jun. de 2020
Comentada: Star Strider el 28 de Jun. de 2020
Hello community!
I have a file on excel with some values which are the output signal. So, I want to find the integral of these values.
How to do that in Matlab or Simulink?
PS. I have imported the excel file on workspace
Thanks in advance!

Respuesta aceptada

Star Strider
Star Strider el 27 de Jun. de 2020
use the trapz (or cumtrapz) function (depending on the result you want). It would be best to also have an independent variable (for example, time) as well as part of the integration, if you have access to it.
  6 comentarios
RoBoTBoY
RoBoTBoY el 28 de Jun. de 2020
Thank you very much!
Star Strider
Star Strider el 28 de Jun. de 2020
As always, my pleasure!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by