arbitrary matrix concatenation

May 4, 2007 at 10:52pm

arbitrary matrix concatenation

I’m trying to figure out an elegant way to make matrix foo { 1 2 3} = { 1 2 3 1 2 3 1 2 3 1} or { 1 2 3 1 2} or { 1 2 3 1 2 3 1 2} ect.. basically a recursive matrix concatenation that repeats the original matrix across a specified dimension until it reaches an arbitrary size of x without having to do fancy scripting. Anybody have some useful suggestions?

#31760
May 5, 2007 at 4:35am

jit.scanwrap?

On May 4, 2007, at 6:52 PM, Tyler Nitsch wrote:

> I’m trying to figure out an elegant way to make matrix foo { 1 2 3}
> = { 1 2 3 1 2 3 1 2 3 1} or { 1 2 3 1 2} or { 1 2 3 1 2 3 1 2}
> ect.. basically a recursive matrix concatenation that repeats the
> original matrix across a specified dimension until it reaches an
> arbitrary size of x without having to do fancy scripting. Anybody
> have some useful suggestions?

v a d e //

http://www.vade.info
abstrakt.vade.info

#103581

You must be logged in to reply to this topic.