help-octave
[Top][All Lists]
Advanced

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

Re: Nearest neighbor interpolation.


From: Ben Abbott
Subject: Re: Nearest neighbor interpolation.
Date: Fri, 20 Apr 2012 09:03:17 -0400

On Apr 20, 2012, at 8:37 AM, rikydzee wrote:

> Any idea of how to put instead o zeros the avreage of neighbors?...something
> like this:
> A              (A+B)/2           B
> (A+C)/2   (A+B+C+D)/2   (B+D)/2
> C                (C+D)/2         D
> 

Does this work for you ?

        interp2 ([A, B; C, D], 1, "linear")

Ben


reply via email to

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