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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spline Postprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!