Cumulative sum in Simulink
Show older comments
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.
Answers (3)
Paul
on 8 Jun 2022
1 vote
Fangjun Jiang
on 8 Jun 2022
Edited: Fangjun Jiang
on 8 Jun 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 Comments
Abbass Ibrahim
on 9 Jun 2022
Fangjun Jiang
on 10 Jun 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.
Use the discrete-time integrator block for discrete systems
Categories
Find more on Signal Attributes and Indexing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!