Suffix Array

The objective is to illustrate suffix array computation. This does not include the search operation.
443 Downloads
Updated 16 Oct 2010

View License

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.
Email: promethevx@yahoo.com.

Thank you.

Regards,
Michael Chan JT

Cite As

Michael Chan (2024). Suffix Array (https://www.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 Linux
Categories
Find more on Data Types in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0