Adding all the elements of a 1-d matrix/array in Simulink
30 views (last 30 days)
I have a variable named "power" that contains 25 constant values. I would like to sum them up using a function block in Simulink. I would like that to be done instantly in one timestep. Any suggestions to what can I use?