Problem 58299. Encrypt a message with the square root of 2
Solution Stats
Problem Comments
-
4 Comments
How is the global variable provided? Is the solver supposed to provide the global variable and to how many digits? Are you randomly selecting each letter by letter?
@David The global variable is provided by the test suite.
@Christian
I don't see how the global variable is provided. Went I run the global variable is empty.
David, try it now. The first "test" should be
global sqrt2str
s = webread('https://apod.nasa.gov/htmltest/gifcity/sqrt2.1mil');
sqrt2str = s(1230:1013886);
sqrt2str(strfind(sqrt2str,newline))='';
It was in the test suite, but it didn't appear on Cody till I put '%%' ahead of it.
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
Find the alphabetic word product
3194 Solvers
-
Find common elements in matrix rows
2500 Solvers
-
2854 Solvers
-
It dseon't mettar waht oedrr the lrettes in a wrod are.
1645 Solvers
-
Removing rows from a matrix is easy - but what about inserting rows?
203 Solvers
More from this Author244
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!