pipe2matrix
