Cumulative sum in Simulink

39 次查看(过去 30 天)
Abbass Ibrahim
Abbass Ibrahim 2022-6-8
编辑: Wei Huang 2024-3-22
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.

回答(3 个)

Paul
Paul 2022-6-8
The Discrete-Time Integrator block can be configured as an accumulator.

Fangjun Jiang
Fangjun Jiang 2022-6-8
编辑:Fangjun Jiang 2022-6-8
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 个评论
Abbass Ibrahim
Abbass Ibrahim 2022-6-9
i didn't undertand what should i do for Discrete System , can you please help me more.
Fangjun Jiang
Fangjun Jiang 2022-6-10
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.

请先登录,再进行评论。


Wei Huang
Wei Huang 2024-3-22
编辑:Wei Huang 2024-3-22
Use the discrete-time integrator block for discrete systems

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by