Matlab matching first column of a row as index and then averaging all columns in that row
问题 I need help with taking the following data which is organized in a large matrix and averaging all of the values that have a matching ID (index) and outputting another matrix with just the ID and the averaged value that trail it. File with data format: (This is the StarData variable) ID>>>>Values 002141865 3.867144e-03 742.000000 0.001121 16.155089 6.297494 0.001677 002141865 5.429278e-03 1940.000000 0.000477 16.583748 11.945627 0.001622 002141865 4.360715e-03 1897.000000 0.000667 16.863406 13