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