octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #36351] interp2 run from high to low


From: Grant Stephens
Subject: [Octave-bug-tracker] [bug #36351] interp2 run from high to low
Date: Mon, 30 Apr 2012 12:46:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19

URL:
  <http://savannah.gnu.org/bugs/?36351>

                 Summary: interp2 run from high to low
                 Project: GNU Octave
            Submitted by: stephensg
            Submitted on: Mon 30 Apr 2012 12:46:15 PM GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The interp2 function does not work with meshgrid data that is arranged from
high to low, as follows:

x=linspace(1,-1,10);
[xx yy] = meshgrid (x);
z = cos(2*pi*xx)+sin(2*pi*yy);
x=linspace(1,-1,30);
[xx2 yy2] = meshgrid (x);
z2 = interp2 (xx,yy,z,xx2,yy2,'cubic');


It does run in matlab and should be able to run in octave with minimal
changes.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36351>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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