Cumulative sum in Simulink

조회 수: 63 (최근 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에서 Discontinuities에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by