Skip to main content

2.7) Array Operations (cont'd)


IDL has some built-in functions which you can use with arrays to get useful information about the data they contain. Some of these functions that you will use quite often are:

x = min(array) Finds the minimum value of the data in the array
x = max(array) Finds the maximum value of the data in the array
x = mean(array) Will calculate the mean of the data in the array
x = median(array) Will calculate the median of the data in the array