We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d30efe1 commit 589f80cCopy full SHA for 589f80c
functions/I2MC/getFixations.m
@@ -37,7 +37,7 @@
37
% during fixation
38
39
%% first determine cutoff for finalweights
40
-cutoff = nanmean(finalweights) + cutoffstd*nanstd(finalweights);
+cutoff = mean(finalweights,'omitnan') + cutoffstd*std(finalweights,'omitnan');
41
42
% get boolean of fixations
43
fixbool = finalweights < cutoff;
0 commit comments