Borrar filtros
Borrar filtros

Integrate a signal over the last x seconds

6 visualizaciones (últimos 30 días)
Francesco Galuppo
Francesco Galuppo el 21 de Dic. de 2020
Comentada: Francesco Galuppo el 22 de Dic. de 2020
Hi,
I hope you can give me a good track to solve this problem on Simulink
I need to integrate a signal over the last 30 seconds, continously, so that:
where t0 is the actual time and x are the seconds backwards.
V is therefore changing every second.
Thanks a lot!
Francesco

Respuesta aceptada

Pat Gipper
Pat Gipper el 21 de Dic. de 2020
Using a combination of an integrator, transport delay and summer where you subtract the value of the integrator output from 30 seconds prior from the current output might satisfy what you need.
  1 comentario
Francesco Galuppo
Francesco Galuppo el 22 de Dic. de 2020
Thanks a lot! The problem is fully solved with a variable time delay, where the second input is the clock output minus the x that I want.
I accepted your answer, thanks again
BR
Francesco

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre General Applications en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by