% FIGURE 5.3.3
      function [HORS,K] = LOCATE533(I)
%                              DETERMINE THE TYPE ('H' OR 'S') OF BASIS
%                              FUNCTION I, AND THE POINT (XPTS(K+1)) ON
%                              WHICH IT IS CENTERED.
      if (mod(I,2) == 0)
         HORS = 'S';
      else
         HORS = 'H';
      end
      if (I == 1)
         HORS = 'S';
      end
      K = fix(I/2);
