FUNCTION REFERENCE
augknt
Augment a knot sequence.
Augment a knot sequence.
Syntax
augknot = augknt(knots, k)Syntax
[augknot, addl] = augknt(knots, k, mults)Returns the distinct knots with the first and last of multiplicity exactly k and each interior knot of multiplicity mults (default 1; a vector gives one multiplicity per interior knot). addl is the number of knots added on the left.
Example
augknt([1 2 3 3 3], 2) % [1 1 2 3 3]Differences from MATLAB: repeated interior knots in the input are counted once (use mults for higher multiplicity).
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.