Simulink - sum of elements in exact time
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Simscape in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!