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

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

[Octave-bug-tracker] [bug #45125] griddata matlab incompatibility


From: José Luis García Pallero
Subject: [Octave-bug-tracker] [bug #45125] griddata matlab incompatibility
Date: Mon, 18 May 2015 10:00:28 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0

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

                 Summary: griddata matlab incompatibility
                 Project: GNU Octave
            Submitted by: jgpallero
            Submitted on: lun 18 may 2015 10:00:23 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0-rc4
        Operating System: Any

    _______________________________________________________

Details:

If I try to use in Octave the griddata function as:


>> x=rand(10,1);
>> y=rand(10,1);
>> z=rand(10,1);
>> xi=rand(5,1);
>> yi=rand(5,1);
>> griddata(x,y,z,xi,yi)


I obtain an error:


error: surface: rows (Z) must be the same as length (Y) and columns (Z) must
be the same as length (X)
error: called from
    surface>__surface__ at line 128 column 11
    surface at line 60 column 19
    mesh at line 76 column 12
    griddata at line 142 column 5


But in Matlab the function works and the output is a vector with the same
dimensions as xi and yi




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Mensaje enviado vía/por Savannah
  http://savannah.gnu.org/




reply via email to

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