Borrar filtros
Borrar filtros

how to reconstruct piecewise polynomial splines?

2 visualizaciones (últimos 30 días)
Behnam
Behnam el 8 de Jun. de 2015
Comentada: Behnam el 9 de Jun. de 2015
I am trying to reconstruct and evaluate multivariate pp splines that are made in MATLAB in C, using coefficients that are provided when I built them in MATLAB. However, I could not understand what is the form of these multivariate polynomial, and how can assign the coefficients in different intervals. Can you tell me how to reconstruct these multivariate PPs, or what is their form?
  2 comentarios
Walter Roberson
Walter Roberson el 8 de Jun. de 2015
Which routine did you use to build them in MATLAB?
Behnam
Behnam el 8 de Jun. de 2015
I am making B-form splines using spapi and then convert B-form to pp using fn2fm.

Iniciar sesión para comentar.

Respuestas (1)

Sreeja Banerjee
Sreeja Banerjee el 9 de Jun. de 2015
Hi Behnam,
At the end of the documentation page for function SPAPI and FN2FM, you can see that there is a "More About" section which talks about the algorithms the functions use.
You can also use the following commands at the MATLAB command line to look at the implementation of the algorithms:
>> edit spapi
>> edit fn2fm
  1 comentario
Behnam
Behnam el 9 de Jun. de 2015
Hi Sreeja, I have looked at those, but they do not provide info about the form of multivariate polynomials. what I am interested in is to know which form of polynomial are those coefficients belong to. So using those coefficients I would be able to evaluate the polynomial's value at arbitrary data points in my code in C.

Iniciar sesión para comentar.

Categorías

Más información sobre Spline Postprocessing en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by