Interpreting Cubic Spline Coefficients for spline(theta, R)

  • Thread starter Thread starter danago
  • Start date Start date
  • Tags Tags
    Cubic
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
danago
Gold Member
Messages
1,118
Reaction score
4
>> spline(theta, R)

ans =

form: 'pp'
breaks: [0.5000 1]
coefs: [-1.9538 1.1125 0.8415]
pieces: 1
order: 3
dim: 1

theta and R are of equal size and contain the points i want to fit to a spline.

What really has me perplexed is the coefficients that are produced. How do i interpret these coefficients; I originally assumed that they were the coefficients of a polynomial in standard form, however after plugging in my original values to check i have found that this is clearly not the case.

Any help? :smile:

Thanks in advance.
Dan.
 
Physics news on Phys.org
I need to know how could we solve differential equation using concept of splines