Skip to content

Commit

Permalink
Merge pull request #94 from Wirkungstreffer/BS_dev
Browse files Browse the repository at this point in the history
Include the maximal value of frequency
  • Loading branch information
nguyen-td authored May 14, 2024
2 parents a8f19db + f6fa11b commit 27eda0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pop_roi_connectplot.m
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
frq_inds = find(S.freqs == g.freqrange(1));
titleStr = sprintf('%1.1f Hz', g.freqrange(1));
else
frq_inds = find(S.freqs >= g.freqrange(1) & S.freqs < g.freqrange(2));
frq_inds = find(S.freqs >= g.freqrange(1) & S.freqs <= g.freqrange(2));
titleStr = sprintf('%1.1f-%1.1f Hz frequency band', g.freqrange(1), g.freqrange(2));
end
else
Expand Down
2 changes: 1 addition & 1 deletion pop_roi_statsplot.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
frq_inds = find(S.freqs == g.freqrange(1));
title = sprintf('%1.1f Hz', g.freqrange(1));
else
frq_inds = find(S.freqs >= g.freqrange(1) & S.freqs < g.freqrange(2));
frq_inds = find(S.freqs >= g.freqrange(1) & S.freqs <= g.freqrange(2));
title = sprintf('%1.1f-%1.1f Hz frequency band', g.freqrange(1), g.freqrange(2));
end
else
Expand Down

0 comments on commit 27eda0d

Please sign in to comment.