b-spline recursion

版本 1.0.0.0 (1.4 KB) 作者: Basel alnabulsi
A recursive function that computes the b-spline basis atoms, it's very compact
433.0 次下载
更新时间 2012/2/13

查看许可证

a function to compute the b-spline points on a grid
usage y = spline_recursion (u,n)
n is the order of the spline
u is the grid point
example:
t=linspace(-2,10,10000);
y1=spline_recursion (t,2);
y2=spline_recursion (t,3);
y3=spline_recursion (t,4);
y4=spline_recursion (t,10);
subplot(2,2,1), plot(t,y1), title('b-spline order = 2');
subplot(2,2,2), plot(t,y2), title('b-spline order = 3');
subplot(2,2,3), plot(t,y3), title('b-spline order = 4');
subplot(2,2,4), plot(t,y4), title('b-spline order = 10');

引用格式

Basel alnabulsi (2025). b-spline recursion (https://ww2.mathworks.cn/matlabcentral/fileexchange/35062-b-spline-recursion), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Splines 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0