X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 16 Jul 2014 05:36 AM by  anon
Turn Array (3,n) into a Grid (i,j)
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
16 Jul 2014 05:36 AM
    Hey there, maybe it seems like an easy question but i didn't find any procedures where i can turn a (3,n) array into a (i,j) Grid where n=i*j. 0 0 z0 1 0 z1 2 0 z3 0 1 z4 1 1 z5 2 1 z6 What i want to do is taking this (3,n) array and turn into a grid (0:2,0:1) with the z values assign to the right pixels(coordinates). Right now i have an (3,262144) array of XYZ coordinates and want to make a 512x512 Grid with the Z values. What would be the best way to do this? I tried Grid Data but i'm not sure if i use it right and i don't want to interpolate any values, it just should use the existing ones. Thanks in advance.
    You are not authorized to post a reply.