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:
Cita come
Konstatntin Shabalev (2024). splinecloud-matlab (https://github.com/kshab/splinecloud-matlab/releases/tag/v1.0.3), GitHub. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
InterX
nurbs_toolbox/nurbs_toolbox
Versione | Pubblicato | Note della release | |
---|---|---|---|
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 |