MATLAB: How can i do this summation

I have two summation ,a=0 to a=m+1 and b=0 to b=n+1,where m=100,n=50.?

Best Answer

s=zeros(1,88);
for k=1:88
for a=0:n+1
for b=0:m+1
s(k)=s(k)+v(a+1,b+1)^(k+1)-v(a+1,b+1)^k
end
end
end
s=s/(m*n)