Warning information generated by spapi

2 views (last 30 days)
Liwei
Liwei on 17 Sep 2014
When I use the spapi function as below, warning information is printed
>> spline = spapi([0, 0.1, 0.2, 0.3, 0.4, 1],[0, 0], [1, 1]) ;
Warning: Matrix is singular, close to singular or badly scaled. Results may be inaccurate. RCOND = NaN.
> In slvblk at 104
In spapi>spapi1 at 185
In spapi at 147
slvblk is the function that Solves almost block-diagonal linear system.
I just try to do simple experiment with the function spapi. The input is two points((0,0),(0,1) and hope to get the b spline with degree 3 between the two points, so the length of knot vector is 6. I don't understand why warning information is produced.

Answers (0)

Community Treasure Hunt

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

Start Hunting!