num2abc(N,LetterCas​e)

版本 1.0.0.0 (1.5 KB) 作者: Sugato
This function returns the N-th english alphabet in upper or lower case. N ranges from 1 to 26.
23.0 次下载
更新时间 2017/8/12

查看许可证

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);

引用格式

Sugato (2025). num2abc(N,LetterCase) (https://www.mathworks.com/matlabcentral/fileexchange/64099-num2abc-n-lettercase), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2016a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Text Data Preparation 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0