int2text.m

来自「vigenere密码解密的matlab实现」· M 代码 · 共 14 行

M
14
字号
function y = int2text (x)% This function takes the number in the variable x and converts % it to a character y. % The convention for this function is%   a  <-- 0%   b  <-- 1%   and so on...if ( (x < 0) | (x > 25) ),   error('Integer out of range 0 - 26');end;y=char(x + 'a');   %It helps to know Matlab tricks

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?