matrix2xy

matrix2xy matrix position to chess xy position

Contents

Syntax

xy_pos = matrix2xy(m_pos)

Description

A position is given in matrix notation and the chess xy position is required.

Inputs:

Outputs:

Example

Transform a position from matrix notation into chess xy position

 xy_pos = matrix2xy([2 4])
xy_pos =

     4     7

See also

matrix2chess, xy2matrix

Signature