help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Numerical Differentiation and Integration of Array Data


From: c.
Subject: Re: Numerical Differentiation and Integration of Array Data
Date: Sat, 3 Dec 2011 08:02:59 +0100

On 2 Dec 2011, at 21:54, Jordi Gutiérrez Hermoso wrote:

>  (f(3:end) - f(1:end-3))
>             ./
>    (diff(f)(1:end-1) + diff(f)(2:end))

I think think should be 

(f(3:end) - f(1:end-2)) ./ (diff(f)(1:end-1) + diff(f)(2:end))

right?

c.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]