Warning information generated by spapi

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Spline Postprocessing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by