ita_result2audio_spk

-allowed fftDegree to be double instead of integer
parent a3b9d6bf
......@@ -26,7 +26,7 @@ function audioObj = ita_result2audio_spk(resultObj, samplingRate, fftDegree, var
thisFuncStr = [upper(mfilename) ':'];
%% Initialization and Input Parsing
sArgs = struct('pos1_data','itaResult','pos2_samplingRate','integer', 'pos3_fftDegree','integer');
sArgs = struct('pos1_data','itaResult','pos2_samplingRate','integer', 'pos3_fftDegree','numeric');
ita_parse_arguments(sArgs,{resultObj, samplingRate, fftDegree});
assert(logical(resultObj.isFreq), [thisFuncStr 'Data must be in frequency domain.'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment