Simulink - sum of elements in exact time
조회 수: 1 (최근 30일)
이전 댓글 표시
How to sum elements getting in exact time.
For example the simulation time is 60s and i measure the current and then write to file at every 1s (sample time 1).
*(s)(A)*
- 1 10
- 2 10
- 3 15
- . .
- . .
- 60 15
and my question is how to sum these Ampers and get one result. 10+10+15+..+15 = xxx
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2013년 4월 20일
Use a discrete transfer function bloc set to:
Numerator=1
Denominator=[1 -1]
sample time=1
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!