Problem 44351. Code breaker, Part I: Operation Phoenix
FYI: The fastest solution mentioned at the problem description uses a lookup-table. Don't beat yourself too much.
Hello, William. I like very much the originality & especially the efficiency of your approach here. Am I correct in thinking that the existing code would struggle to correctly decode a message that was encoded from (say) "Beware of the Sasquatch Man's involvement in Operation Phoenix"? [I don't want to explain this, to avoid giving too many clues to others. But I hope you get my point.] Although I am confident you could tweak your code (if necessary) to handle such cases. —DIV
Problem Recent Solvers35
How to find the position of an element in a vector without using the find function
Project Euler: Problem 4, Palindromic numbers
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
More from this Author32
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!