Version: MATLAB R2018
In the document of audiowrite, it is written that the sample rate is any positive scalar between 44100 and 4800 Hz. However, the function accepts sample rates below 44100 Hz, e.g., 39063. More importantly, the document does not mention that the input sample rate must be integer, but the function throws an exception if the sample rate is not an integer.
Best Answer