function tim =ndx2time(i)
global N Fs;
tim = i/Fs;
end
