Cody Problem 58299 asks you to encrypt a message by changing all letters to uppercase and randomly choosing a position of the ASCII codes of the message’s characters in the fractional part of the square root of 2.
Write a function to decrypt a message encrypted in this way. A string with the fractional part of the square root of 2 will be set as a global variable.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers5
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15819 Solvers
-
Create a function handle that reverses the input arguments of another function handle
158 Solvers
-
11407 Solvers
-
Return the first and last characters of a character array
12442 Solvers
-
Vectorize the digits of an Integer
338 Solvers
More from this Author329
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
I get 99% of the values right expect the loc of digit '4'