function vmorder = makevmorder(nf,nrif) 
% MAKEVMORDER, MAKEs Vector of indices with Movie frame ORDER
%     For use in NonParametric Regression MOVies
%   Inputs: (in order)
%     nf - number of frames,  scalar
%           (note: this is also number of "evaluation points of smooth")
%     nrif - number of times to Repeat Individual Movie Frames for mpeg
%
%    Copyright (c) J. S. Marron, E. Smith 1999


vmorder = [(1:nf),((nf-1):-1:2)] ;
vmorder = vec2mat(vmorder,nrif) ;
vmorder = reshape(vmorder,1,size(vmorder,2)*nrif) ;
          %  replicate frame number, nrif times





