d = randn(64,1); s = sum(abs(d))
- You could chain a series of 64 unit delays together and run a branched signal off of each one into a summation block.
- You could use MATLAB function block ("Embedded MATLAB" in older releases) and have something in the body like:
- I believe that the communication blockset has some buffer blocks that will accumulate a rolling set of samples, which you could then feed to a sum block.
- There is probably a way to write this as a transfer function too.