Using a while loop to compute running sum in MATLAB

Published --