Create a matrix with a repetitive pattern
    6 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
Hi,
consider the following matrix.
    234
    235
    236
    237
    238
    239
      I want to convert it into the following matrix pattern:
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
234
235
236
237
238
239
0 Commenti
Risposta accettata
  James Tursa
      
      
 il 5 Apr 2018
         x = your original vector
 n = number of vertical repititions
 result = repmat(x,n,1);
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Resizing and Reshaping Matrices 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!