How do you sum a signal in Simulink?

1 Ansicht (letzte 30 Tage)
Jack Cimorelli
Jack Cimorelli am 8 Jun. 2022
Kommentiert: Jack Cimorelli am 8 Jun. 2022
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.

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 8 Jun. 2022

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by