ISUNIQ

function isuniq(array)

You are now following this Submission

Returns a value of 1 if the input 'array' has all distinct/unique elements (integers) otherwise the function returns a 0.
The input vector can be 1-D or 2-D vector.

Cite As

Abhinava Kundu (2026). ISUNIQ (https://www.mathworks.com/matlabcentral/fileexchange/37441-isuniq), 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.1.0.0

The values returned by the function is a either double 1 or double 0, not char '1' or '0'. It was a wrong description.

1.0.0.0