필터 지우기
필터 지우기

Getting the scope to show sum of time series output with respect to time

조회 수: 1 (최근 30일)
Hi
I have a value that changes with respect to time due to arithmetic function. Instead of viewing the new output with respect to time, I would like to see the new output + sum of previous outputs with respect to time.
Please help me with this. I need to learn how to do this in simulink or if there is a block/function that I can use?

채택된 답변

Mischa Kim
Mischa Kim 2014년 3월 24일
James, you could use the Cumulative Sum block. It is included in the DSP System Toolbox.
  댓글 수: 4
Brent van Versendaal
Brent van Versendaal 2017년 10월 1일
Hi,
I have a similar problem. Mischa, can you please explain how I can implement such a mechanism so I will get the sum of all the values? It's a value that changes with respect to time: a sum of all the energie used by a radiator in a week.
regards, Brent

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by