I don't understand. Isn't decyp() supposed to be called with 2 arguments? All the the test-suite problems call it with 1 argument, and therefore don't indicate whether it is supposed to cipher or decipher.
Other problems of this type (cipher/decipher from 2nd input) are called with 2 arguments.
If that was the intended way of solving this question, someone please fix the test suite.
The problem description has been cleaned up. Also, the test suite now calls the function with two inputs, as mentioned by William.
Based on a commented-out solution by Lincoln Poon, the problem appears to now be functional.
Sum all integers from 1 to 2^n
String substitution, sub problem to cryptoMath
Convert a vector into a number
Create an index-powered vector
Factorial: Unlimited Size : java.math
Decipher the number 4 - 3 keys - order [1 2 3 2 1 2 3 ......]
Find the spot diameter from the intensity distribution matrix of single spot (circle)
Cipher and 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