In this formula m is not a 1x256 matrix, but a function that you can define as, e.g.,
gamma = 2.3; N = 256;
m = @(j) N*(j/N)^gamma;
So m(0) is NOT the zero'th entry of m, which is not defined, but the call of function m with argument 0.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!