DEBSOURCES
Skip Quicknav
sources / psychtoolbox-3 / 3.0.9%2Bsvn2579.dfsg1-1 / Psychtoolbox / PsychSignal / SumAll.m
12345678
function s = SumAll(in) % [s] = SumAll(in) % returns sum of all elements in input. IN can be anything from a scalar to an N-D % matrix % % DN 2008 s = sum(in(:));