Changeset 371 for trunk/SRC/ToBeReviewed/STATISTICS/a_timecorrelate.pro
- Timestamp:
- 08/07/08 11:32:02 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/ToBeReviewed/STATISTICS/a_timecorrelate.pro
r342 r371 99 99 ; 100 100 ; @examples 101 ; 101 102 ; Define an n-element sample population. 102 ; IDL> x = [3.73, 3.67, 3.77, 3.83, 4.67, 5.87, 6.70, 6.97, 6.40, 5.57]103 ; IDL> x = [3.73, 3.67, 3.77, 3.83, 4.67, 5.87, 6.70, 6.97, 6.40, 5.57] 103 104 ; 104 105 ; Compute the autocorrelation of X for LAG = -3, 0, 1, 3, 4, 8 105 ; IDL> lag = [-3, 0, 1, 3, 4, 8]106 ; IDL> result = a_correlate(x, lag)106 ; IDL> lag = [-3, 0, 1, 3, 4, 8] 107 ; IDL> result = a_correlate(x, lag) 107 108 ; 108 109 ; The result should be:
Note: See TracChangeset
for help on using the changeset viewer.