chicadechina/B-Splines
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 (2024). chicadechina/B-Splines (https://github.com/judydev/B-Splines), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
5.0.0.0 | added the feature of writing to txt file
|
|
|
4.0.0.0 | Modified link to Github. Added the rational basis function for NURBS. |
|
|
3.0.0.0 | Simplified codes; added inline user request for printing when necessary to compress output. |
||
2.0.0.0 | Documentation updated. |
||
1.0.0.0 |