Hi all!
Thank you for looking at this thread. I’m having an issue at the moment of trying to import a matrix from a CSV file into a MetaEditor script. The file below is what the CSV file looks like in MetaEditor. What piece of code could I write to efficiently import these numbers into an array which has 10 rows and 12 columns? Thank you so much!
0.59119,0.91302,-0.24845,-1.4449,-1.0474,-0.19321,0.86771,1.2237,2.7086,1.909,-0.05177,0.44011
0.31486,3.2801,-2.7768,1.334,-0.62165,-1.5147,-0.3493,2.4592,4.3133,0.1713,-3.2866,0.48743
2.0176,-1.7724,0.1237,0.10214,-0.41129,3.3639,-0.19308,1.7814,1.0445,0.47436,-1.1098,-1.2311
2.4973,-1.2728,0.68445,1.8011,-1.893,-3.49,-1.6895,0.49105,-0.22979,-0.11506,-3.0139,2.653
-1.422,0.20207,-1.7585,-0.00018628,-0.28835,0.24825,-4.237,0.45852,-1.9619,1.279,2.7651,0.30175
-0.23272,2.3705,0.06,-0.31937,-0.45936,-0.16604,-0.34425,-0.61509,-0.14743,-0.78805,0.90661,0.091302
1.2191,0.92969,3.3985,-0.37366,1.9945,-0.41439,-0.94896,-1.5174,-0.99342,-1.3067,1.3398,0.78294
1.1661,-0.4661,0.084859,3.0469,0.59137,-4.3791,-1.2947,1.873,-2.4296,-1.4597,-1.7482,-2.1998
0.64769,-0.23214,0.79859,-1.4505,1.3397,-2.8848,-0.94848,0.15517,0.28185,-0.18656,0.90189,-0.41948
-1.4782,-3.8424,0.025689,0.48499,-1.354,0.64871,0.42047,-0.26407,0.42064,0.00014723,-0.29586,-0.088966