Problem 45336. chess position
given the position of a chess piece in algebric notation, convert it into 8 by 8 matrix format. For example,
- 'Qd5' >> [3,4]
Nb. invalid ones should be represented by nan.
Solution Stats
Solution Comments
Show commentsProblem Recent Solvers15
Suggested Problems
-
Return the largest number that is adjacent to a zero
5508 Solvers
-
3805 Solvers
-
2598 Solvers
-
Flip the main diagonal of a matrix
899 Solvers
-
730 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!