Encryption of a string
Ältere Kommentare anzeigen
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’
Akzeptierte Antwort
Weitere Antworten (1)
Roger Nadal
am 24 Nov. 2019
0 Stimmen
3 Kommentare
Walter Roberson
am 24 Nov. 2019
output = input_message(1:n:end)
Roger Nadal
am 24 Nov. 2019
Walter Roberson
am 24 Nov. 2019
output = input_message(1:n+1:end)
Kategorien
Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!