Cumulative sum in Simulink

hello ,
I need help, I'm trying to add my signals in simulink cumulative, I've tried to do it with a delay, with Cum sum in a Matlab function but it doesn't fit, does anyone have an idea and can help.

Réponses (3)

Paul
Paul le 8 Juin 2022

1 vote

The Discrete-Time Integrator block can be configured as an accumulator.
Fangjun Jiang
Fangjun Jiang le 8 Juin 2022
Modifié(e) : Fangjun Jiang le 8 Juin 2022

0 votes

For continuous system, feed your signal to an Integrator block.
For discrete system, add your signal with the output of a Unit Delay block, feed the output of the Sum block to the Unit Delay block.

2 commentaires

Abbass Ibrahim
Abbass Ibrahim le 9 Juin 2022
i didn't undertand what should i do for Discrete System , can you please help me more.
Fangjun Jiang
Fangjun Jiang le 10 Juin 2022
using a Sum block and a Unit Delay block, add your signal with the output of a Unit Delay block, feed the output of the Sum block to the Unit Delay block.

Connectez-vous pour commenter.

Wei Huang
Wei Huang le 22 Mar 2024
Modifié(e) : Wei Huang le 22 Mar 2024

0 votes

Use the discrete-time integrator block for discrete systems

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by