title: How to add HOG features into matrix (matlab)
body: <p>After extracting HOG features of folder of images, I want to add all this results in one matrix. How I can do this? this is my code in matlab:</p>
  
  <pre><code>training_female = 'E:\Training Set\Female Images';
  
  % read all images with specified extention, its jpg in our case
  filenames = dir(fullfile(training_female, '*.jpg'));
  
  % count total number of photos present in that folder
  total_images = numel(filenames);
  
  for n = 1:total_images
  
  % Specify images names with full path and extension    
  full_name= fullfile(training_female, filenames(n).name);
  
  % Read images
  training_images = imread(full_name);
  [featureVector, hogVisualization] = extractHOGFeatures(training_images);
  figure (n)
  
      % Show all images
      imshow(training_images); hold on;                  
      plot(hogVisualization);
  end
  </code></pre>