Encryption of a string
古いコメントを表示
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’
採用された回答
その他の回答 (1 件)
Roger Nadal
2019 年 11 月 24 日
0 投票
3 件のコメント
Walter Roberson
2019 年 11 月 24 日
output = input_message(1:n:end)
Roger Nadal
2019 年 11 月 24 日
Walter Roberson
2019 年 11 月 24 日
output = input_message(1:n+1:end)
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!