<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    Dear all,<br>
    <br>
    When using makecell such as in<br>
    <br>
    <font face="Courier New">--> u = makecell([2 2], cos, 'hello',
      1+%s^2, [1 2; 3 4])<br>
       u  = <br>
      <br>
        [  1 fptr      ]  [1x1 string  ]<br>
        [1x1 polynomial]  [2x2 constant]<br>
      <br>
      we get a cell array where the unidimensional ordering of the cells
      goes first along columns and then ows. However, when extracting
      components unidimensionally, it behaves the other way around:<br>
      <br>
      --> u(1:4)<br>
       ans  =<br>
      <br>
        [  1 fptr      ]<br>
        [1x1 polynomial]<br>
        [1x1 string    ]<br>
        [2x2 constant  ]<br>
      <br>
      The same happens wen applying matrix:<br>
      <br>
      --> matrix(u,4,1)<br>
       ans  =<br>
      <br>
        [  1 fptr      ]<br>
        [1x1 polynomial]<br>
        [1x1 string    ]<br>
        [2x2 constant  ]<br>
      <br>
      --> matrix(u,1,4)<br>
       ans  =<br>
      <br>
        [1 fptr]  [1x1 polynomial]  [1x1 string]  [2x2 constant]<br>
      <br>
      Isn't this inconsistent?<br>
      Shouldn't makecell create the cell array going along rows and then
      columns? <br>
      <br>
      Regards,<br>
      <br>
      Federico Miyara<br>
      <br>
    </font>
  </body>
</html>