Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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'};

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!