Encryption scheme operands?
显示 更早的评论
I'm wondering if anyone understands how to write a code such that each letter of the alphabet is given a corresponding number from 1-26, and 27 is a blank space... Basically, I have to decipher a matrix. I tried using something like this;
Alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
numbers = [1,12,7,5,2;18,1,27,27,27]
letters = Alphabet(numbers)
The output should be ALGEBRA, but I get an error message.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Programming 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!