Code covered by the BSD License
function Y = isint(X) % % ISINT True for integer numbers % % Y = ISINT(X) returns true (1) is X is an integer, false (0) otherwise. % if isa(X,'uint8') Y = ones(size(X)); else Y = logical(X==round(X)); end
Contact us