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.
Di Zhu (2021). chicadechina/B-Splines (https://github.com/judysome/B-Splines), GitHub. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!