Displaying 1 result from an estimated 1 matches for "avefun".
Did you mean:
afun
2009 Oct 29
3
x-y plot as an histogram
Hi,
I am investigating a problem for which I found no solution.
I have a matrix with two columns. I have plotted it as an x-y plot
(plot(matrix[,1],matrix[,2])
But this is not apropriate for my purposes. I need to group the data
in matrix[,1] into groups (as an histogram would do). Then I have to
calculate the average of matrix[,2] for each group.
Before starting with loops and loops I