Encryption of a string
Mostrar comentarios más antiguos
I have to create a function which take 2 input one is n number and on e is message if I call function (4,’hi’) it will return next 4 char of ‘h’ and ‘i’ so output will be ‘lm’
Respuesta aceptada
Más respuestas (1)
Roger Nadal
el 24 de Nov. de 2019
0 votos
3 comentarios
Walter Roberson
el 24 de Nov. de 2019
output = input_message(1:n:end)
Roger Nadal
el 24 de Nov. de 2019
Walter Roberson
el 24 de Nov. de 2019
output = input_message(1:n+1:end)
Categorías
Más información sobre Characters and Strings en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!