Problem 48510. Decipher the message - 3 key
You will be given a input number (eg) x='geikm'
you have to figure out the dechiper key and match it with given input and decipher it
ref=ascii(32:126); decipher_key1=[ascii(33:126) ascii(32) ]; decipher_key2=[ascii(34:126) ascii(32:33) ];
decipher_key3=[ascii(35:126) ascii(32:34) ]
output y='hello'
"If" and "while" are forbidden
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers4
Suggested Problems
-
3417 Solvers
-
Matrix indexing with two vectors of indices
734 Solvers
-
206 Solvers
-
find the roots of a quadratic equation
231 Solvers
-
Back to basics - mean of corner elements of a matrix
434 Solvers
More from this Author33
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!