Sum of a signal in simulink
In my Simulink model, current value of a signal should be added to all previous value of the same signal. I’ve used integrator with initial value of zero to find it; however the result is different from what I find in Matlab through "sum" or "trapz" function.
The solver is continuous with fixed step size.
Any thought to resolve this issue. or any other block to use for this purpose instead of integrator?In my Simulink model, current value of a signal should be added to all previous value of the same signal. I’ve used integrator with initial value of zero to find it; however the result is different from what I find in Matlab through "sum" or "trapz" function.
The solver is continuous with fixed step size.
Any thought to resolve this issue. or any other block to use for this purpose instead of integrator? In my Simulink model, current value of a signal should be added to all previous value of the same signal. I’ve used integrator with initial value of zero to find it; however the result is different from what I find in Matlab through "sum" or "trapz" function.
The solver is continuous with fixed step size.
Any thought to resolve this issue. or any other block to use for this purpose instead of integrator? sum simulink MATLAB Answers — New Questions