how to save the values
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
how to save the all values of latent in the set of images if i run the code only the 7 image values only save how to reslove the problem
clc
clear all;
warning off all;
for loop=1:7
    figname=strcat(sprintf('CLL (%d).png',loop));
    img=double(imread(figname));
    [pc, score,latent,tsquare] = princomp(img);
     latent=latent(1:400,:);
     latent=latent';
end
0 Commenti
Risposta accettata
  Andrei Bobrov
      
      
 il 3 Giu 2013
        
      Modificato: Andrei Bobrov
      
      
 il 3 Giu 2013
  
      latent = zeros(7,400);
for loop=1:7
    figname=strcat(sprintf('CLL (%d).png',loop));
    img=double(imread(figname));
    [~,~,l0] = princomp(img);
    latent(loop,:) = l0(1:400).';
end
7 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Dimensionality Reduction and Feature Extraction in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!