Smooth polynomial functions that are piecewise-defined.
Questions tagged [splines]
67 questions
0
votes
1 answer
Race Track in OpenGL (Catmull-Rom)?
I'm making a simple 3D racing game for my project. I'm wondering about using the Catmull-Rom splines.
I've set the texture of it. I've also created a functional which takes 4 points and t (the distance between the 2 nearest control points). I've…

Suzan Aydın
- 355
- 6
- 17
0
votes
1 answer
cost-based minimization of spline with linearly-fixed points
Let me see if I can describe this problem adequately without pictures.
Let's say I have two variables which both linearly affect velocity, a and b. As a increases, velocity increases linearly, and vice versa. Same goes for b- as it increases,…

dbromberg
- 97
- 8
0
votes
1 answer
How to get all points for a fitted spline in R?
I am trying to find the MSE of a fitted smooth.spline in R (and compare it with other methods) using a default data set (cars). But using predict function decreases the number of my data points. In other words, I have 50 pairs of data points (x,y)…

Fred
- 223
- 3
- 14
0
votes
1 answer
Random curve made by points only
I need to create a random curve like this:
In this picture there are 3 examples, marked as follows:
The red oval is beginning of the curve and
The blue oval shows the end.
Between them are points marked with green ovals.
I only can use Point…

Vuk Vasić
- 1,398
- 10
- 27
0
votes
2 answers
Reporting Services Line Graph: How to better control the smoothed curve
I have a report that I built for a client where I need to plot x 0-100, y 0-100. Let's imagine I have these points:
0, 0
2, 24
50, 70
100, 100
I need to represent these as a smoothed line chart, as the application of it is a dot gain graph…

mattlant
- 15,384
- 4
- 34
- 44
-2
votes
2 answers
Contour lines drawing in Java with a given Delaunay triangulation
I'm currently working on my master's thesis where I get:
A Delaunay triangulation drawn for me with given n points in (x, y, z) form.
My task is to use this triangulation and make contour lines at given z values.
I have been nearly successful at…

Solve Johnsen
- 67
- 1
- 1
- 7
-2
votes
1 answer
Error in fitting Natural Spline in R
I'm fitting a natural spline model and I get the errors below. Can you help me understand and solve the error below?
Error in double(nx * ncoef) : vector size cannot be NA
In addition: Warning message:
In nx * ncoef : NAs produced by integer…

Sam
- 4,357
- 6
- 36
- 60