splinefit
- To: mathgroup at smc.vnet.net
- Subject: [mg58305] splinefit
- From: "Bosch, Darrell" <bosch at vt.edu>
- Date: Sun, 26 Jun 2005 23:13:08 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
- Thread-index: AcV6h5tkaMsRP6K+QAWA9zNK1cDtTw==
Dear Group, I am having trouble getting SplineFit to work. Here is a simplified version of what I'm trying to do GET[ "NumericalMath`SplineFit.m`"] pts = {{0, 0}, {1, 2}, {2, 2.5}, {3, 2.75}, {4, 2.9}}; spline = SplineFit[pts, Cubic] ParametricPlot[spline[u], {u, 0, 4}, PlotRange -> All, Compiled -> True] When I try to run the ParametricPlot, I get an error message stating "spline[u] does not evaluate to a pair of real numbers at u = 1.6666666666666665", etc Thanks in advance for your help. Regards, Darrell Bosch