sajidsaleem Posted April 28, 2007 Report Share Posted April 28, 2007 Dear All In my mueasurement file i have two columns. First column has the value of the variable and second column has the number of times that value occurs in measurement. e.g Value-----# of times 2--------------3 4--------------1 3--------------2 Values in both clumns are not sorted and re arbitrary. Based on this example i want to generate a 1 D array which has the value in Column 1 repeated number of times in the second column. The above example will then become a 1 d array as follows. 2 2 2 4 3 3 At average there are 5000 measurements in one file. Can you please help. Thanks Quote Link to comment
Aitor Solar Posted April 28, 2007 Report Share Posted April 28, 2007 For example: http://forums.lavag.org/index.php?act=attach&type=post&id=5649 Saludos, Aitor Quote Link to comment
crelf Posted April 28, 2007 Report Share Posted April 28, 2007 QUOTE(sajidsaleem @ Apr 27 2007, 09:56 PM) Can you please help. Show us what you've tried and we'll try to help. Upload some code for us to look at. Quote Link to comment
Nullllll Posted April 30, 2007 Report Share Posted April 30, 2007 Let me see ur code coz I had the same problem Quote Link to comment
sajidsaleem Posted May 1, 2007 Author Report Share Posted May 1, 2007 QUOTE(Aitor Solar @ Apr 27 2007, 01:06 PM) For example:http://forums.lavag.org/index.php?act=attach&type=post&id=5649''>http://forums.lavag.org/index.php?act=attach&type=post&id=5649'>http://forums.lavag.org/index.php?act=attach&type=post&id=5649 Saludos, Aitor Dear Aitor This realy did help and solved the problem. Once again thank you all. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.