mat2list takes as argument a matrix. mat2list returns the list of the coefficients of this matrix. Input :
Output :