Writing CSV files with headers in Matlab

Update 6th July 2010: Walid suggests an alternative to my code in the first comment below, which apparently is much faster. I’ve not had a chance to check it out myself, but others have and like it. I suggest you use that instead of mine. Update 1st May 2012: Pendragon found that Walid’s code didn’t [...]

April 11, 2010   Tags: apps, matlab  14 Comments

R, the acf function and statistical significance

The R language provides us with a useful method to calculate the autocorrelation function (ACF) of a time series. An example of an environmental time series with a seasonal cycle is shown below, with the resulting plot: corr

January 20, 2010   Tags: apps, r  3 Comments