Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Is it possible to set all data(n).x = []; without a for cycle?
    3 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
Is it possible to do the following withot a for cycle? for n = 1:N, data(n).x = []; end
0 comentarios
Respuestas (1)
  madhan ravi
      
      
 el 30 de Oct. de 2018
        
      Editada: madhan ravi
      
      
 el 30 de Oct. de 2018
  
      data(1:N).x = [];  %edited after Stephens comment
2 comentarios
  Stephen23
      
      
 el 30 de Oct. de 2018
				The square brackets are not required and just hinder JIT optimization.
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


