The header of function SOFAcalculateITD suggests:
Usage: [itd,toa,IACC,Obj] = SOFAcalculateITD(data,mode,threshlvl,lowpass,butterpoly,upper_cutfreq)
But when I run the following:
data = SOFAload( mysofafilename );
mode = 'Threshold';
threshlvl = -20;
[toa_diff,toa,IACC,Obj] = SOFAcalculateITD(data,mode,threshlvl);
I get the following error:
Error using SOFAarghelper (line 257)
SOFACALCULATEITD: Parameter is not a string, it is of class double
Error in SOFAcalculateITD (line 108)
[flags,kv]=SOFAarghelper({},definput,varargin);
FYI, I am using Matlab2024b and have run SOFAstart before. Thank you for your efforts.
The header of function SOFAcalculateITD suggests:
Usage: [itd,toa,IACC,Obj] = SOFAcalculateITD(data,mode,threshlvl,lowpass,butterpoly,upper_cutfreq)
But when I run the following:
data = SOFAload( mysofafilename );
mode = 'Threshold';
threshlvl = -20;
[toa_diff,toa,IACC,Obj] = SOFAcalculateITD(data,mode,threshlvl);
I get the following error:
Error using SOFAarghelper (line 257)
SOFACALCULATEITD: Parameter is not a string, it is of class double
Error in SOFAcalculateITD (line 108)
[flags,kv]=SOFAarghelper({},definput,varargin);
FYI, I am using Matlab2024b and have run SOFAstart before. Thank you for your efforts.