[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: R rep equivalent in octave
From: |
fork |
Subject: |
Re: R rep equivalent in octave |
Date: |
Sun, 10 Jul 2011 04:45:32 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
CdeMills <Pascal.Dupuis <at> worldonline.be> writes:
>
> Otherwise, there is also the repmat function. Given some matrix X,
> repmat(X, [n m])
> repeats it n times along rows and m times along columns.
repmat is the most idiomatic in the matlab world, as far as I know.
For more fun, though, 'help kron' for kronecker multiplication.