num2abc(N,LetterCase)
Function Description:
This function returns the N-th english alphabet either in upper or lower
case as specified by the user. N ranges from 1 to 26.
N = 01 => A
N = 26 => Z
AUTHOR: Sugato Ray | Created on: 04-MAR-2017 | ray.sugato[at]gmail.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PLEASE ACKNOWLEDGE THE AUTHOR IF YOU USE THIS CODE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
INPUT:
N = an integer from 1 to 26
LetterCase = U or L
Othe alternative inputs for LetterCase are:
1. upper/Upper/UPPER/U
2. lower/Lower/LOWER/L
OUTPUT:
A = N-th english alphabet
EXAMPLE:
A = num2abc(N,LetterCase);
Cite As
Sugato (2026). num2abc(N,LetterCase) (https://in.mathworks.com/matlabcentral/fileexchange/64099-num2abc-n-lettercase), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
