For given xx,x, y vectors build spline of x and y and find yy values for xx vector.
Example
x = [ 1.0000 1.5000 2.0000 2.5000 3.0000 3.5000 4.0000 4.5000]
y=[ 0.8415 0.9975 0.9093 0.5985 0.1411 -0.3508 -0.7568 -0.9775]
xx=[ 1.0000 1.2000 1.4000 1.6000 1.8000 2.0000 2.2000 2.4000 2.6000 2.8000 3.0000 3.2000 3.4000 3.6000 3.8000 4.0000 4.2000 4.4000 4.6000 4.8000 5.0000]
result=[0.8415 0.9338 0.9861 0.9991 0.9733 0.9093 0.8085 0.6755 0.5155 18 0.3349 0.1411 -0.0584 -0.2556 -0.4423 -0.6114 -0.7568 -0.8726 -0.9527 -0.9912 -0.9820 0.9193]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers42
Suggested Problems
-
Maximum running product for a string of numbers
2258 Solvers
-
579 Solvers
-
729 Solvers
-
405 Solvers
-
Find Euclidean norm of given vector u.
74 Solvers
More from this Author37
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!