Previous Up Next

6.3.33  Creating a list from a matrix

The mat2list flattens a matrix into a list. (See also Section 6.3.13.)

Example

mat2list([[5,8],[1,9]])
     

5,8,1,9
          

Previous Up Next