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:  Libraries Severity:  1 - Wish
Priority:  1 - Later Item Group:  Feature Request
Status:  Postponed Assigned to:  None
Originator Name:  Christian Remmersmann Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  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)

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:

Jordi,

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?

Cristian,
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, ...
Interpolationobject);

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

c.

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:

z_new=griddata(x_old,y_old,z_old,x_new,y_new);

In MATLAB it is:

Interpolationobject=TriScatteredInterp(x_old,y_old,z_old);
z_new=Interpolationobject(x_new,y_new);

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.

Anonymous
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:
http://www.mathworks.de/help/techdoc/ref/triscatteredinterp.html
is apparently not yet available.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by bcipolli (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by bkurtz (Updated the item)
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

     

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-04 mtmiller Severity3 - Normal => 1 - Wish
        Release3.6.1 => dev
        Operating SystemMicrosoft Windows => Any
    2013-12-16 bkurtz Attached File- => Added scatteredInterp.patch, #29932
    2012-03-13 jordigh Priority5 - Normal => 1 - Later
        StatusNone => Postponed

    Back to the top


    Powered by Savane 3.3