Hello! LENGTH(m) if the number of rows in the matrix m. But how to get the number of columns of the matrix? -- Alexey mailto:destiny@smtp.ru