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...

 Respuesta aceptada

Walter Roberson
Walter Roberson el 3 de Nov. de 2011

0 votos

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

Más respuestas (0)

Categorías

Más información sobre Entering Commands en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

Nil
el 3 de Nov. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by