psychrange

>Psychtoolbox>PsychOneliners

r = psychrange(X [, dims]) - Drop in replacement for range().

See Matlab online docs, or Octave help for range().

Matlab does not have range() outside the statistics toolbox, and we do
not want to enforce installation of it for the few use-cases we have
internally for range(), so provide this drop-in / fallback inplementation.

Octave would not benefit from this, as range is part of statistics package,
but so are min and max, so if range isn’t there, the min and max functions
needed here won’t be either.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychOneliners/psychrange.m