06-03-2014 09:36 AM
I would like to manipulate and array like this.
12 42
22 32
13 43
23 33
to
12 42 13 43
22 32 23 33
How would I go about doing this?
06-03-2014 09:49 AM
06-03-2014 09:51 AM - edited 06-03-2014 09:56 AM
It's not actually a transpose that the OP is looking for.
Need more information about what operation the OP is trying to do and whether it is scalable.
It looks like the OP wants to do a split and then reassemble.
But this is almost certainly not what the OP really needs.
06-03-2014 10:02 AM - edited 06-03-2014 10:08 AM
Reshape transposing rows and columns
(Note: I bet the array buffer allocations aren't necessarilly real)
06-03-2014 10:07 AM - edited 06-03-2014 10:08 AM
Jeff, all you did was a Transpose 2D Array. Look at the example closer.
Here's what I came up with really quick. It is scalable.
06-03-2014 10:31 AM
thanks. What is that double orange block on the output of the for loop?
06-03-2014 10:35 AM
I told the FOR loop's output terminals to "Concatinate". Right click on the terminal and go to Tunnel Mode->Concatinating. That was introduced in 2012, so if you have anything older, we will need to have some fun with shift registers and Build Array.
06-03-2014 10:44 AM
@crossrulz wrote:
Jeff, all you did was a Transpose 2D Array. Look at the example closer.
Well not exactly but, is see after closer examination its even rows appended in order on row 0 and odd rows to row 1 from the OP's post.
06-03-2014 02:00 PM - edited 06-03-2014 02:22 PM
*Edited,cause is not working as expected*