ROT13 is a MATLAB library which is given a string and applies the ROT13 cipher to characters and the ROT5 cipher to digits.
For example, we have:
Input: Output: abcdefghijklmnopqrstuvwxyz nopqrstuvwxyzabcdefghijklm Cher Pure James Thurston Howell Wnzrf Guhefgba Ubjryy 0123456789 56789012345
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
ROT13 is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.
ATBASH, a MATLAB library which applies the Atbash substitution cipher to a string of text.
CAESAR, a MATLAB library which can apply a Caesar Shift Cipher to a string of text.
CHRPAK, a MATLAB library which works with characters and strings.
DICTIONARY_CODE, a MATLAB library which demonstrates how a text file can be compressed and decompressed using a dictionary code.
FILUM, a MATLAB library which can work with information in text files.
MONOALPHABETIC, a MATLAB library which can apply a monoalphabetic substitution cipher to a string of text.
You can go up one level to the MATLAB source codes.