help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reshaping vector


From: Miĥail Vasiljev
Subject: reshaping vector
Date: Mon, 24 May 2010 21:51:36 +0400

Hello!

Probably this question is answered somewhere but searching google was
not helpful. I have a vector, say, 

A = 1:4;

I want to create another vector, with a form 

AA = 1,2,3,4,1,2,3,4,1,2,3,4;

i.e. I need a vector who's elements are elements of vector A, just
repeated n times. How can I achieve this?

Thank you!

-- 
Miĥail Vasiljev <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]