Problem 61031. The MATLAB Treasure Hunt – Extract the Hidden Cave’s Coordinates from a Long List of Numbers
After decoding the first clue, you uncover another piece of parchment — a long list of numbers. At first glance, it looks random, but a faint drawing of a cave beside it hints that pairs of numbers represent (x, y) coordinates!
Given a row vector a containing an even number of elements, reshape it into a two-column matrix where each row represents one coordinate pair.
This will reveal the positions leading to the Hidden Cave, your next stop on the map.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers9
Suggested Problems
-
The MATLAB Treasure Hunt – Extract the Hidden Cave’s Coordinates from a Long List of Numbers
9 Solvers
More from this Author22
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!