title: handling dataset array as dataset in matlab like as other programs(spss,r,stata)
body: <p>i have a table that has 80 variables, 512 observations</p>
  
  <p>and all values are numeric</p>
  
  <p>i want to factor analysis with my table(class:dataset) as dataset.</p>
  
  <p>still now, i am using this expression to do that</p>
  
  <pre><code>factoran(double(table),m)
  </code></pre>
  
  <p>I want to use an expression with datasetfun like this for conserving table information.</p>
  
  <pre><code>datasetfun(@(x) factoran(x,m), table, 'datasetoutput', true)
  </code></pre>
  
  <p>but it is not working. </p>
  
  <pre><code>Error using factoran (line 133)
  X must have more than one row (observation) and more than one column (variable).
  
  Error in @(x)factoran(x,3)
  
  
  Error in dataset/datasetfun (line 101)
  </code></pre>
  
  <p>how to do? </p>