BookmarkSubscribeRSS Feed
Choose Language Hide Translation Bar
Highlighted
dg1
dg1
Occasional Contributor

Column data to Matrix

Hi! I am trying to turn all of the data in the coloumns of my data table into a 8 by 12 matrix. This would mean that if I had 5 columns I would have 5 (8 by 12) matrices. Do you guys have any suggestions on how I could do this? 

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Column data to Matrix

dt = current data table();
theMatrix = dt << get as matrix;

I strongly suggest that you read the Scripting Guide!  You need to learn the basics of JSL, and work towards becoming a more independent JSL programmer.  

     Help==>Books==>Scripting Guide

Jim
0 Kudos
1 REPLY 1
txnelson
Super User

Re: Column data to Matrix

dt = current data table();
theMatrix = dt << get as matrix;

I strongly suggest that you read the Scripting Guide!  You need to learn the basics of JSL, and work towards becoming a more independent JSL programmer.  

     Help==>Books==>Scripting Guide

Jim
0 Kudos