On Tue, 9 Mar 2010 05:37:52 -0800 (PST) ManInMoon <xmoon2000 @googlemail.com> wrote: > How can I generate a vector of differences between each elemtn of an vector? diff(x) -- Karl Ove Hufthammer