Reading data from cell array
    4 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Ahmad Hasnain
 el 24 de Abr. de 2019
  
    
    
    
    
    Comentada: Ahmad Hasnain
 el 24 de Abr. de 2019
            I have a cell array that contains all the data. A{1,1}, A{2,1},...A{37,1}.
Now, I want to extract the first row from A{1,1}, A{2,1},...A{37,1} and then combine all the 37 rows in one mat file. How can I do that?
2 comentarios
Respuesta aceptada
  madhan ravi
      
      
 el 24 de Abr. de 2019
        
      Editada: madhan ravi
      
      
 el 24 de Abr. de 2019
  
      C = cell2mat(cellfun(@(x) x(1,:), A, 'un',0));
save mymat.mat C
0 comentarios
Más respuestas (0)
Ver también
Categorías
				Más información sobre Logical en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


