Encryption of a string
Mostra commenti meno recenti
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’
Risposta accettata
Più risposte (1)
Roger Nadal
il 24 Nov 2019
0 voti
3 Commenti
Walter Roberson
il 24 Nov 2019
output = input_message(1:n:end)
Roger Nadal
il 24 Nov 2019
Walter Roberson
il 24 Nov 2019
output = input_message(1:n+1:end)
Categorie
Scopri di più su Characters and Strings in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!