Scicos function

duplicate - duplicates vector entries

Calling Sequence

v=duplicate(u,count)

Parameters

Description

v=duplicate(u,count) returns the column vector:

           v=[u(1)*ones(count(1),1);
              u(2)*ones(count(2),1);
              ...
              u(n)*ones(count(n),1)]
   

Examples

See Also

Author