Function for finding integers in open interaval

It takes interval endpoints (a;b) as a parameters and return integers between values of "a" and "b".

You are now following this Submission

function ints = FindIntsBetween(a,b)
%It find all integer numbers in (a;b)
g_ints=fix(a):fix(b);
fnd=find(a<g_ints & g_ints<b);
ints=g_ints(fnd);
end

Cite As

Ilya Prokin (2026). Function for finding integers in open interaval (https://www.mathworks.com/matlabcentral/fileexchange/36204-function-for-finding-integers-in-open-interaval), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0