The folder contains a script and a function.
abjadcalc script calls for user input in a character string.
Example:
>> abjadcalc
Enter the word: بسم الله الرحمن الرحیم
The abjad numeral is: 786
abjad function calculates Abjad numerical values for texts stored in a cell array:
Example:
x = {'ابجد','هوز','حطی'};
>> abjad(x)
ans =
10
18
27
IMPORTANT:
For Matlab versions prior to 2012b, replace index(j) = find(contains(alpha,Ahex(j,:))) with index(j)=find(strcmp(alpha,Ahex(j,:)))
引用格式
Omar Joya (2024). Abjad calculator (https://www.mathworks.com/matlabcentral/fileexchange/67360-abjad-calculator), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!