lexcmp

Fast C-style array/string comparison (by lexical ordering)

Download
Download

You are now following this Submission

Cite As

Ben Petschel (2026). lexcmp (https://uk.mathworks.com/matlabcentral/fileexchange/23035-lexcmp), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Compare Strings (C-convention)

Inspired: String comparison, multisetdiff, jointable

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

added support for inf/nan values in arrays and improved help text

Download
1.0.0

Download