title: interchanging rows and columns of a 4D matrix
body: <p>I have 117 rows and 147 columns of data. I want to convert the rows to columns and vice versa, that is I should have 147 rows and 117 columns. I tried the function <code>.'</code> and <code>'</code> and even the <code>transpose</code>, <code>permute</code> functions. However, I haven't been successful. I get an error saying </p>
  
  <blockquote>
    <p>Transpose on ND array is not defined. Use PERMUTE instead</p>
  </blockquote>
  
  <p>Please can someone help me if they know how I can achieve this. Any help and suggestions would be greatly appreciated.</p>
  
  <pre><code>whos AA_03:
  Name Size Bytes Class Attributes
  AA_O3 4-D 1651104 single
  </code></pre>