Re: [Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread Rafael Guerra
linear_interpn(repetitus, repetita, repetitum) = repeated -- View this message in context: http://mailinglists.scilab.org/Scilab-users-3D-interpolation-comments-adding-tp4035998p4036009.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com. ___

Re: [Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread Samuel Gougeon
Le 25/03/2017 à 19:38, paul.carr...@free.fr a écrit : Hi Tim That's indeed what I've read as well; my need remains to get a linear interpolation between physical points ... I'm still digging in order to find a "pleasant" code :_) linear_interpn() is made for that: https://help.scilab.org/doc

Re: [Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread paul . carrico
Hi Tim That's indeed what I've read as well; my need remains to get a linear interpolation between physical points ... I'm still digging in order to find a "pleasant" code :_) Thanks for the feedback Paul Le 2017-03-25 17:52, t...@wescottdesign.com a écrit : > The help says that splin2d g

Re: [Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread tim
The help says that splin2d generates bicubic patches, so presumably it's not linear interpolation. On 2017-03-25 00:24, paul.carr...@free.fr wrote: > Hi All > > To go further in 2D/3D interpolation as I started in my previous emails, I > built the example here after. > > As suggested, I had

Re: [Scilab-users] 3D interpolation : comments adding

2017-03-25 Thread Rafael Guerra
Try this: n=21; x = linspace(0,300,n)';// abscissa t = [0 25 100];// temperature z = n*sin(x/n).*.cos(t/n); // ordinate clf() a=get("current_axes"); a.x_label.text=" X abscissa"; a.y_label.text=" Temperature T"; a.z_label.text=" Z ordinate"; // linear interpolation xp = [22 103 2

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread paul . carrico
thanks all for the answers; I didn't know about ndgrid and I'm currently having a look on it (seems to be quite interesting) Samuel: from your example and the help doc, I need to understand how to proceed to perform linear interpolations (temperatures and abscissa's in my example) Paul Le 201

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread Samuel Gougeon
Le 24/03/2017 à 18:40, paul.carr...@free.fr a écrit : Hi all, I don't know if my question is relavante (or not), but I'm wondering what is the best way to perform a 3D interpolation, from for the matrix definition to the interpolation procedure. Let me using a basic example: I've some curves

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread Tim Wescott
That doesn't show up in the help for 5.5.2.  Is it a 6.x thing, or is there a toolbox?  Looks interesting, at any rate. On Fri, 2017-03-24 at 18:45 +0100, CRETE Denis wrote: > Hello ! > Did you try cshep2d + eval_cshep2d ? > HTH > Denis >   > [@@ THALES GROUP INTERNAL @@] >   > Unité Mixte de Phys

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread Tim Wescott
I'm not an expert.  But: I did a quick spin through the help files and came up with splin2d and interp2d.  It looks like what you want -- get the splines in x and T using splin2d, and find the y values for a given x and T using interp2d. I don't know if this is the very best way to do this mathem

Re: [Scilab-users] 3D interpolation

2017-03-24 Thread CRETE Denis
Hello ! Did you try cshep2d + eval_cshep2d ? HTH Denis [@@ THALES GROUP INTERNAL @@] Unité Mixte de Physique CNRS / THALES 1 Avenue Augustin Fresnel 91767 Palaiseau CEDEx - France Tel : +33 (0)1 69 41 58 52 Fax : +33 (0)1 69 41 58 78 e-mail : denis.cr...@thalesgroup.com

Re: [Scilab-users] 3d interpolation griddata

2014-11-13 Thread Stéphane Mottelet
Hello, the cshep2d macro should fit your needs. S. Le 12/11/2014 22:40, simond a écrit : Hi, I am trying to convert a matlab code using griddata. Unfortunately, I havent succeed to solve the problem with the available scilal functions (linear_interpn, interpd..). I have a data set of disorde