title: MATLAB Saving and Loading Feature Vectors
body: <p>I am trying to load feature vectors into classifiers such as a k-nearest neighbors classifier. </p>
  
  <p>I have my code for GLCM, so I get contrast, correlation, energy, homogeneity in numbers (feature vectors).</p>
  
  <p>My question is, how can I save every set of feature vectors from all the training images? I have seen somewhere that people had a .set file to load into classifiers (may be it is a special case for the particular classifier toolbox). </p>
  
  <pre><code>load 'mydata.set';
  </code></pre>
  
  <p>for example. </p>
  
  <p>I suppose it does not have to be a .set file.<br>
  I'd just need a way to store all the feature vectors from all the training images in a separate file that can be loaded.  </p>
  
  <p>I've google, 
  <a href="https://stackoverflow.com/questions/5556736/how-to-save-sift-feature-vector-for-classification-using-neural-network">and I found this that may be useful</a>
  but I am not entirely sure.</p>
  
  <p>Thanks for your time and help in advance. </p>
  
  <p>Regards.</p>