How do you sum a signal in Simulink?
Show older comments
I would like to sum all the data points of a signal over the simulation time without having to export to MATLAB. For example, if simulation time is 5 seconds, and data is 1,2,3,4,5 with a step-size of 1, the sum should be 15.
Accepted Answer
More Answers (0)
Categories
Find more on Simulink 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!