You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
% function out=strrel(in1,in2,relop)
%
% Compares strings according to strcmp and issorted according to relop
% in1 and in2 can be character arrays or cell arrays
% relop can be <, <=, >, >=, ==, and ~=, or their string equivalents
% such as 'ne' or 'gt', etc.
%
% Examples:
% c = {'How','much','wood','would','a','woodchuck','chuck?'};
% s = 'wood';
% r = strrel(s,c,'<')
% r = strrel(s,c,'gt')
Cite As
Ben Barrowes (2026). strrel (https://www.mathworks.com/matlabcentral/fileexchange/16894-strrel), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.89 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Faster due to issortedcellchar as suggested by Urs (us) Schwarz. |
