function write_sphinx (name,m); % write_sphinx (name,m); % % sphinx header contains just the # of floats in the file so that % size of the inp vector must be spcified from the comm line. [vecsize veccount] = size(m); ntot = vecsize * veccount; ff = fopen (name,'w'); % wri header fwrite (ff,ntot,'int'); fwrite (ff,m, 'float'); fclose (ff);