Info

此问题已关闭。 请重新打开它进行编辑或回答。

how i can take the row positions of X vector according to sqralpha

1 次查看(过去 30 天)
hello all; i have one problem and i explaining as the following: the sqralph is matrix that contains 26 English alphabets used cycle shift, and each character in X vector will be searched first letter in first column of sqralph, then second letter of X in second column in sqralph...... until last letter for the last column in the sqralph
sqralph=
a b c d e f g h i j k l m n o p q r s t u v w x y z
b c d e f g h i j k l m n o p q r s t u v w x y z a
c d e f g h i j k l m n o p q r s t u v w x y z a b
d e f g h i j k l m n o p q r s t u v w x y z a b c
e f g h i j k l m n o p q r s t u v w x y z a b c d
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
z a b c d e f g h i j k l m n o p q r s t u v w x y
x={'a','i','v','h','e','i','r','n','m','a','z','e','m'};

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by