X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 21 Apr 2010 04:43 AM by  anon
2D data file
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
21 Apr 2010 04:43 AM
    I am trying to save it as a 2D data file (200by 600). my array length ; x in row = 600 and Y = 200.  In order to import this text file, I need to save it as a running data points , like  (y1,x1) (y1,x2).....................(y1, x600) , (y2,x1) (y2,x2)..............(y2,x600).........................................(yn,xn)  or  just one column of the x, y  coordinates.. not sure how to save in these two formats. Any help is appreciated. Thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    21 Apr 2010 02:26 PM
    The easiest way to write an array to a text file would be to use the WRITE_CSV procedure like this: write_csv, 'mydata.csv', array This will be a Comma Separated Variable file (which is just an ascii file) that will contain the data, with 200 columns and 600 rows.    -JE ITT VIS Tech Support
    You are not authorized to post a reply.