Suffix Array
Version 1.0.0.1 (2.05 KB) by
Michael Chan
The objective is to illustrate suffix array computation. This does not include the search operation.
main executing reference usage: usage_determineSuffixArray.m
sample run:
targetString = xabxa;
stringMatrix =
'xabxa$'
'abxa$'
'bxa$'
'xa$'
'a$'
suffixArray =
5 2 3 4 1
* Caveat: For educational reference only.
If the educational demo have more elegant presentation, please do not hesitate to suggest and send feedback to author.
Thank you.
Regards,
Michael Chan JT
Cite As
Michael Chan (2025). Suffix Array (https://au.mathworks.com/matlabcentral/fileexchange/29058-suffix-array), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Data Types in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
