you should add a test case like GrantII does in his 'divisible by X' problems...
http://www.mathworks.com/matlabcentral/cody/problems/42408-divisible-by-6
thanks for advice! done! :)
Your testsuite is still incomplete. I recommend you to include cases where Ciphertext and Key both contain upper and lower case letters
Please kindly note that your test case 3 (a='az' b='za' y_correct='zz') is wrong. If you re-score all solutions, I think none of them would pass this test case. However, you may need to re-score multiple times because ind = randi(3) does not necessarily yield ind = 3.
thanks, I missed that mistake. it should be ok right now.
cheater. what's the point of doing that?
Find the longest sequence of 1's in a binary sequence.
3423 Solvers
Selecting books on MATLAB for experts and beginners (blindfolded)
65 Solvers
Reverse the elements of an array
694 Solvers
2221 Solvers
Output a vector which is table of 9
129 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!