Commit 3a7ed2ad authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

changed unique to uniquetol in nDirection

parent b32f3f43
......@@ -199,7 +199,7 @@ classdef itaHRTF < itaAudio
%% ......................GET.......................................
function nDirections = get.nDirections(this)
[~,idxDim] = unique([this.channelCoordinates.phi_deg this.channelCoordinates.theta_deg] ,'rows');
[~,idxDim] = uniquetol([this.channelCoordinates.phi_deg this.channelCoordinates.theta_deg] ,'ByRows',true);
nDirections = numel(idxDim);
end
......
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