Date: Aug 27, 2013 2:38 PM Author: dpb Subject: Re: sum of result of two rows with third row On 8/27/2013 1:03 PM, Shatrughan wrote:
> Thanks a lot "IceHaven" !! this worked like what i was expecting..
>> if so, then this should work for you
>> B = A;
>> for i = 2:length(A)
>> B(i) = mod(B(i-1)+B(i),5);