47 Downloads
Updated 13 Sep 2023

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);

alt text

Uses:

Cite As

Konstatntin Shabalev (2026). splinecloud-matlab (https://github.com/kshab/splinecloud-matlab/releases/tag/v1.0.3), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
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

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.