38 download
Aggiornato 13 set 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:

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
Creato con R2021b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
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

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.