Concatenate multiple Jitter matrices

ironside's icon

I'm trying to concatenate multiple Jitter matrices.
I'm looking at jit.concat and jit.glue, but neither do what I want, which is take 6 (or an arbitrary number) matrices and concat them. It is possible with a chain of jit.concat objects or converting to a list and back, but seems very wasteful.

To illustrate, I have matrix A B and C, which are all 2d char
A = 1 2 3
B = 4 5 6 7
C = 8 9 10 11

I want to concat them to create a single matrix = 1 2 3 4 5 6 7 8 9 10 11
There must be something obvious I'm missing here, as I suppose this would be a simple/common function - can somebody point me in the right direction?

Thanks!

Pedro Santos's icon

Are all concatenations across the first (horizontal) dimension?

Max Patch
Copy patch and select New From Clipboard in Max.

Or do you want different sizes for each video?

ironside's icon

Yep, that's right.

Rob Ramirez's icon

here's my take on it

Max Patch
Copy patch and select New From Clipboard in Max.

Jean-Francois Charles's icon

Maybe something like this:

Max Patch
Copy patch and select New From Clipboard in Max.

ironside's icon

Wow - these are both excellent (have just had a brief look, but they make sense and seem to work). I wouldn't have come up with these - elegant.