I've had good luck with the Dierckx <https://github.com/kbarbary/Dierckx.jl> 
spline 
package--it seems to be a bit more flexible than Grid.

On Monday, December 1, 2014 8:48:32 PM UTC-6, Pileas wrote:
>
> Works for me now also ... :(
>
> OMG I feel sorry for posting this thread and "consumed" your time.
>
> On Mon, Dec 1, 2014 at 9:45 PM, Tim Holy <[email protected] <javascript:>> 
> wrote:
>
>> Works for me.
>>
>> --Tim
>>
>> On Monday, December 01, 2014 06:43:57 PM Pileas wrote:
>> > Tim,
>> >
>> > this code for example (which is in the description of the package):
>> >
>> > # -------------------------------------------------------
>> > using Grid
>> > c = 2.3  # center
>> > a = 8.1  # quadratic coefficient
>> > o = 1.6  # vertical offset
>> > qfunc = x -> a*(x-c).^2 + o
>> > xg = Float64[1:5]
>> > y = qfunc(xg)
>> > yi = InterpGrid(y, BCnil, InterpQuadratic)
>> > # 
>> -----------------------------------------------------------------------
>> >
>> > gave this error: ERROR: InterpGrid not defined.
>> >
>> > Τη Δευτέρα, 1 Δεκεμβρίου 2014 9:26:28 μ.μ. UTC-5, ο χρήστης Tim Holy 
>> έγραψε:
>> > > On Monday, December 01, 2014 06:22:28 PM Pileas wrote:
>> > > > Matlab has built-in functions like interp, interp1, spline etc. to 
>> do
>> > > > interpolation.
>> > > >
>> > > > Does Julia have any built-in functions that can do the same job?
>> > > >
>> > > > P.S.1 The "Grid" package does not work in Julia 0.3.3
>> > >
>> > > Ummm, PackageEval (http://iainnz.github.io/packages.julialang.org/) 
>> is
>> > > showing
>> > > green for Grid on Julia 0.3.3. Specifically what problem are you 
>> having
>> > > with
>> > > it?
>> > >
>> > > --Tim
>>
>>
>

Reply via email to