How can I know more details about the function spap2?

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)

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.
HTH

3 Comments

That only gives me the documentation file for spap2. It just tells that after giving certain inputs, you will get these outputs. But what I need is how it gives those outputs, like which numerical method it uses to calculate the coefficients. Like what is the Mathematics behind it? Hence my question is, is it possible to get this detailed process that MATLAB is using to calculate these coefficients?
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.
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.

Categories

Asked:

on 16 Nov 2021

Commented:

on 17 Nov 2021

Community Treasure Hunt

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

Start Hunting!