Skip to content

Commit

Permalink
Merge pull request #85 from nguyen-td/master
Browse files Browse the repository at this point in the history
Include maximum value of frequency. Looks good
  • Loading branch information
arnodelorme authored May 22, 2024
2 parents 81336dd + 27eda0d commit e9d9a5f
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 e9d9a5f

Please sign in to comment.