필터 지우기
필터 지우기

Fitting 3D B-Spline (Nurbs) curves to a set of points in 3D space

조회 수: 33 (최근 30일)
Memo Remo
Memo Remo 2022년 4월 19일
답변: Garmit Pant 2024년 2월 5일
Hi Everyone,
I have a set of point coordinates in 3D space (xyz). I want to fit a Non-uniform rational basis spline (NURBS) curve to this set and get this curve's knots and cartesian points. I would be thankful if anyone can let me know how to do this in MATLAB or point me to the right direction to write such a code myself.
Many thanks in advance.
  댓글 수: 2
Memo Remo
Memo Remo 2022년 4월 19일
This is an example output data:
Nikhil Sapre
Nikhil Sapre 2022년 4월 20일
I would suggest looking up how to import data into MATLAB, use arrays and plot and plot 3d commands. Provide us with your code and show that you made an effort and are running into issues.

댓글을 달려면 로그인하십시오.

답변 (1개)

Garmit Pant
Garmit Pant 2024년 2월 5일
Hello Memo Remo
From what I gather, you have a 3D coordinates and you want to fit a NURBS curve to them. You are looking for methods in MATLAB to fit the spline to the data.
There are no in-built functions in MATLAB to fit NURBS curve. You can read about the construction of rational splines here:
You can also install the “NURBS Toolbox by D.M. Spink” from File Exchange. The toolbox contains multiple functions to work with NURBS curves. You can find the toolbox here:
I hope you find the above explanation and suggestions useful!

카테고리

Help CenterFile Exchange에서 Splines에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by