MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Problem wit cubic spline

  • To: mathgroup at smc.vnet.net
  • Subject: [mg74994] Problem wit cubic spline
  • From: anguzman at ing.uchile.cl
  • Date: Fri, 13 Apr 2007 02:14:13 -0400 (EDT)

Hello:
  I'm using Mathematica 5 and I'm having some problems with SplineFit
I run :
<<NumericalMath`SplineFit`

pts = {{0,0},{1,2},{-1,3},{0,1},{3,0}};


spline = SplineFit[pts, Cubic]


SplineFit[{{0,0},{1,2},{-1,3},{0,1},{3,0}},Cubic]

That is, it didn't recognize the last command...The graphic doesn't  
work either.
With Bezier (or CompositeBezier) there is no problem.

spline = SplineFit[pts, Bezier]

SplineFunction[\[InvisibleSpace]Bezier\[InvisibleSpace], \[InvisibleSpace]{0.,
      4.}\[InvisibleSpace], <>]

And Graphics works fine....
I tried to run the commands directly from the Help Browser and it  
didn't work..

Does anybody has the same problem?
  Thanks in advance

Atte. Andres Guzman



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



  • Prev by Date: Re: Solving periodic functions
  • Next by Date: Re: Solving periodic functions
  • Previous by thread: Re: Strange results from Mathematica
  • Next by thread: Re: Problem wit cubic spline