view zpzh_idxs.m @ 4:72c011ed1977 tip

more elaborate example with non-stat. estimate explanation
author smusevic
date Tue, 30 Jul 2013 09:56:27 +0100
parents a4a7e3405062
children
line wrap: on
line source
function [is, ie] = zpzh_idxs(N)
md2 = mod(N,2);
if md2 == 1
  is =  (N + md2)/2:N;
  ie = 1:(N + md2 - 1)/2;
else
  is =  N/2+1:N;
  ie = [1:N /2];
end

end