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!