File Exchange

image thumbnail


version (4.41 KB) by Di Zhu
Basis functions for B-Splines (including nonrational and rational B-Splines).

1 Download

Updated 16 Jun 2016

From GitHub

View Version History

View license on GitHub

Given the number of control points(N), the order of Splines (K), a sequence of knot vector (T), and the file name of txt format, the function basisfunc_NBS computes the nonrational (unweighted) basis functions N_ik(t) for each segment up to the Kth order, and writes the data to the txt file.
Add an input variable w for weights, the function basisfunc_NURBS computes the rational (weighted) basis functions R_ik(t) for each segment at the Kth order.

Cite As

Di Zhu (2021). chicadechina/B-Splines (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!