help-octave
[Top][All Lists]
Advanced

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

Re: Help with interpolation code


From: mantale1
Subject: Re: Help with interpolation code
Date: Wed, 27 Jun 2012 06:28:17 -0700 (PDT)

I could, but I wanted to write the code for myself. The real issue is why my else/elseif statement when I try to set method == 'nearest' doesn't work. This is really just for my own education.



On Wed, Jun 27, 2012 at 3:01 AM, c.-2 [via Octave] <[hidden email]> wrote:

On 27 Jun 2012, at 04:34, mantale1 wrote:

> Hi all,
>
>   I have some experience with MATLAB/Octave but I keep getting some
> unexpected errors when I try to write a simple program that uses either
> bilinear or nearest-neighbor interpolation. Here is the code:

I might be missing something, but why can't you just use

interp2 (im, x, y, method)

?

c.
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave



If you reply to this email, your message will be added to the discussion below:
http://octave.1599824.n4.nabble.com/Help-with-interpolation-code-tp4631009p4631010.html
To unsubscribe from Help with interpolation code, click here.
NAML



View this message in context: Re: Help with interpolation code
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

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