function [m,veccount]=read_sphinx (name,vecsize); % [m,vecsize]=read_sphinx (name,vecsize); % % sphinx header contains just the # of floats in the file so that % size of the inp vector must be spcified from the comm line. ff = fopen (name,'r'); % read header ntot = fread (ff,[1 1],'int'); veccount = ntot / vecsize; m = fread (ff, [vecsize veccount], 'float'); fclose (ff);