bugGNU Octave - Bugs: bug #35821, MATLAB-Function...


bug #35821: MATLAB-Function 'TriScatteredInterp' is not yet implemented.

Submitted by:  None
Submitted on:  Mon 12 Mar 2012 10:14:32 PM UTC  
Category: LibrariesSeverity: 1 - Wish
Priority: 1 - LaterItem Group: Feature Request
Status: PostponedAssigned to: None
Originator Name: Christian RemmersmannOriginator Email: -unavailable-
Open/Closed: OpenRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sat 19 Nov 2016 08:30:26 PM UTC, comment #7:

The Matlab functions "scatteredInterpolant" (and the now obsolete "TriScatteredInterp") are still missing in Octave 4.2.0.

Those new functions are provided as files in comment #5.

Hartmut <hardy>
Fri 25 Sep 2015 06:43:41 PM UTC, comment #6:

I'd like to test this change. How can I apply the change to my Octave installation to test this out?

Ben Cipollini <bcipolli>
Mon 16 Dec 2013 08:50:40 AM UTC, comment #5:

Hacked together a quick wrapper for this today. I actually implemented it under the class name scatteredInterpolant (which is what the mathworks seems to want to call it these days), but the important parts of the interface are essentially identical for TriScatteredInterp, so I threw in a wrapper for that that just creates a scatteredInterpolant object.

FTR, I used the old class mechanism, because the new classdef setup doesn't allow me to override the subsref method (yet?), which is required to replicate the functionality. It doesn't really matter though, since scatteredInterpolant in matlab implements 'value' copy semantics.

Also, whoever takes care of this may want to clean up my patch since I'm still getting used to the octave coding style.

(file #29932)

Ben Kurtz <bkurtz>
Tue 13 Mar 2012 09:57:42 PM UTC, comment #4:


I don't think this requires classdef,
it should be possible to do it with the
"old style" classes whiche are currently in Octave ...
Is there any reason why you think this is not possible?

I should have a slightly modified version of griddata
that does something very similar to what you want, i.e.:

[z_1, Interpolationobject] ...
= griddata(x_old, y_old, z_old, x_1, y_1);

z_2 ...
= griddata(x_old, y_old, z_old, x_2, y_2, ...

If you're interested I can look it up and post it somewhere,
e.g. on Agora.


Carlo de Falco <cdf>
Project Member
Tue 13 Mar 2012 09:25:58 PM UTC, comment #3:

This first requires implementing classdef classes in Octave. That's a huge thing in itself. Let's postpone this.

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Tue 13 Mar 2012 09:21:26 PM UTC, comment #2:

You are right, Carlo,
'griddata' provides the functionallity of 'TriScatteredInterp'.
But as far as I can see, a simple wrapper is not enough to assure compatibility to MATLAB.
That is because of the different usage of the commands:

Using Octave one would write:


In MATLAB it is:


Thus, I think it is necessary, to split up the functionality of griddata. Currently, I don't have the time to do this myself, sorry.

Tue 13 Mar 2012 08:20:38 PM UTC, comment #1:

you can perform the same tasks using "griddata"
actually it would be quite easy to implement
TriScatteredInterp as a wrapper around griddata,
would you like to submit a changeset?

Carlo de Falco <cdf>
Project Member
Mon 12 Mar 2012 10:14:32 PM UTC, original submission:

The MATLAB-command 'TriScatteredInterp as described here:
is apparently not yet available.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #29932:  scatteredInterp.patch added by bkurtz (5KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by bcipolli (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by bkurtz (Updated the item)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by cdf (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 04 Jun 2015 01:42:52 AM UTCmtmillerSeverity3 - Normal=>1 - Wish
      Operating SystemMicrosoft Windows=>Any
    Mon 16 Dec 2013 08:50:40 AM UTCbkurtzAttached File-=>Added scatteredInterp.patch, #29932
    Tue 13 Mar 2012 09:25:58 PM UTCjordighPriority5 - Normal=>1 - Later

    Back to the top

    Powered by Savane 3.1-cleanup1