Concatenation Problem

Hi,
I am trying to get cipher text for input text
S=Input Array
K=Output Array
Example- input text: 'hl' then I want cipher_text=ch
I am getting output as
Output
Q =
c
Q =
h
But i am not getting how to concatenate these values and get 'ch' as cipher text for input text 'hl'
Pls Provide your suggestions..
Code :- removed...

 Réponse acceptée

Walter Roberson
Walter Roberson le 3 Nov 2011

0 votes

Instead of assinging to Q, assign to Q(j); and at the end, display Q instead of Q(j)

Plus de réponses (0)

Catégories

En savoir plus sur Entering Commands dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by