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 Solvers13
Suggested Problems
-
Maintain shape of logical-index mask
69 Solvers
-
Without the French accent please!
215 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
470 Solvers
-
371 Solvers
-
Create matrix of replicated elements
373 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!