Le dimanche 19 juin 2011 à 01:35 -0700, computidoo a écrit :
> I looking for a function that is like repmat
>
> i have
> a=[1 2];
>
> and i need [1 2 1 2 1 2 1 2 1 2]
Since Scilab 5.3.1, repmat is included into Scilab.
See:
-->a=[1 2];
-->repmat(a, 1, 4)
ans =
1. 2. 1. 2. 1. 2. 1. 2.
Sylvestre