splinecloud-matlab
SplineCloud client library for MATLAB
Example
clear variables; clear all; clc;
addpath(genpath('splinecloud-matlab'));
curveId = 'spl_BUDRcYh1Mbvy';
spline = fetchCurve(curveId);
[ctrlPoints, knots] = extractNurbsParams(spline);
nurbs = nrbmak(ctrlPoints, knots);
xPoints = linspace(0, 5, 100);
xLength = length(xPoints);
yPoints = zeros(1, xLength);
for i = 1:xLength
yPoints(i) = getYByX(nurbs, xPoints(i));
end
plot(xPoints, yPoints);
Uses:
Cite As
Konstatntin Shabalev (2024). splinecloud-matlab (https://github.com/kshab/splinecloud-matlab/releases/tag/v1.0.3), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
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.
InterX
nurbs_toolbox/nurbs_toolbox
Version | Published | Release Notes | |
---|---|---|---|
1.0.3.0 | See release notes for this release on GitHub: https://github.com/kshab/splinecloud-matlab/releases/tag/v1.0.3 |
||
1.0.2.0 | See release notes for this release on GitHub: https://github.com/kshab/splinecloud-matlab/releases/tag/v1.0.2 |
||
1.0.1 | See release notes for this release on GitHub: https://github.com/kshab/splinecloud-matlab/releases/tag/1.0.1 |
||
1.0.0 | |||
0.1.0.0 | See release notes for this release on GitHub: https://github.com/kshab/splinecloud-matlab/releases/tag/v0.1.0 |