Clear Filters
Clear Filters

How can I know more details about the function spap2?

1 view (last 30 days)
The built-in function spap2 returns the B-form of the spline. My main goal is to know how exactly it calculates the coefficients it returns for each term in the B form, meaning the coefficients of each of the B's in the B form.

Answers (1)

Bjorn Gustavsson
Bjorn Gustavsson on 16 Nov 2021
Why don't you just try:
edit spap2
From there you should be able to read for yourself. As far as I can see most functions are plain .m-files.
Steven Lord
Steven Lord on 16 Nov 2021
What are you planning to do with that information? Are you planning to cite the function in a paper, for example?
The Algorithm section on the spap2 documentation page describes generally the approach it takes.
Saurabh Madankar
Saurabh Madankar on 17 Nov 2021
I am not planning anything in general, just wanted to know how exactly it calculates the coefficients. I looked into the Algorithms section as well, but didn't the clear idea.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!