Burrows-Wheeler Transform and FM Index

Matlab code for Burrows-Wheeler Transform and FM Index
1 Download
Updated 8 Nov 2025

View License

% Burrows-Wheeler Transform and FM Index
% BWM bears a resemblance to the suffix array
% In fact, this gives us a new definition / way to construct BWT(T)
% if SA[i] > 0: BWT[i] = T[SA[i] - 1]
% if SA[i] == 0: BWT[i] = $
% BWT = characters just to the left of the suffixes in the suffix array

Cite As

shen vincent (2026). Burrows-Wheeler Transform and FM Index (https://se.mathworks.com/matlabcentral/fileexchange/182520-burrows-wheeler-transform-and-fm-index), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.0