There are several bugs in the testsuite:
1) You cannot call cyp((x,y)) with double parantheses (occures twice)
2) for x='97256528638204' the string is too short. Likely there is a leading zero missing.
A few of the errors have been fixed, but this problem is too cryptic (or erroneous) for me to understand it, so I can't completely fix it. @Sibi, please fix the problem. I would highly recommend providing your own reference solution on the Edit page to ensure that it is working properly.
Distance walked 1D
Clockwise or Counterclockwise
Find Rotated Substring
Back to basics 26 - Keywords
How to multiply?
Find the spot diameter from the intensity distribution matrix of single spot (circle)
Find the magnetic field around the wire
Cipher or Decipher the number according to the second input - 3 keys - order [1 2 3 2 1 2 3 ......]
Decipher the message - same key for all digits
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office