Separating a vector into two different vectors
    12 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Light
 el 24 de Mzo. de 2019
  
    
    
    
    
    Comentada: Light
 el 24 de Mzo. de 2019
            Hello everyone, I need helping with sorting elements within a column vector. Let's say for example I had a column vector consisting of 100 elements but I wanted to separate them into two different vectors. The first vector would have every other 10 elements. So it would have the first 10 elements, skip the next 10, and then have the 10 after into it. The second vector I would want to make would contain every other element that was not sorted into the first one so elements 11-20 and so on. Would appreciate some guidance on where to start. Thank you in advance.
2 comentarios
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
				Más información sobre Shifting and Sorting Matrices 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!