Skip to content
Snippets Groups Projects
Commit f1b5f35a authored by leprob001's avatar leprob001
Browse files

Bugfix, Plotting the soundsource line segments used a wrong algorithm to...

Bugfix, Plotting the soundsource line segments used a wrong algorithm to estimate the already processed combinations.
parent f563272e
No related branches found
No related tags found
No related merge requests found
260
\ No newline at end of file
261
\ No newline at end of file
......@@ -33,11 +33,11 @@ for m = 1:length(internalCombinations)
currentCombination = internalCombinations{m};
% check if this combination has been processed already
if ~isempty(processedCombinations) ...
& any(strcmp(processedCombinations, currentCombination))
& any(strcmp(processedCombinations, strjoin(currentCombination)))
continue;
end
% add it to the processed list
processedCombinations{end + 1} = currentCombination;
processedCombinations{end + 1} = strjoin(currentCombination);
% estimate how often it occurs in the trajectory
occurrenceIndices = cellfun(@checkOccurrence, internalCombinations);
occurrences = nnz(occurrenceIndices);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment