This function sets the sampling frequency, in sample intervals per second, used by the time-conversion functions. Use setsampfreq before creating a new `hea' file.