Hi everbody, I have 4 matrices and to find cumulative sum of them, i use this code:
%aa includes 4 matrices (4 line, 101 columns for each line)
for i=1:1:4; cum_sum=cumsum(aa(i,:)) end
MATLAB gives me one result with this code. How can i generate 4 result with using this code?
Thanks
Best Answer