extract control points of curve with spline

조회 수: 5 (최근 30일)
Mehri Mehrnia
Mehri Mehrnia 2022년 7월 18일
댓글: Mehri Mehrnia 2022년 7월 20일
I almost studied whole matlab help and mathwork posts about spline.
But, nobody wants to extract control points out of a given curve!!!
every body goes in opposit direction, they have the knots then they produce the curve but I want control points based on the curve?
  댓글 수: 1
John D'Errico
John D'Errico 2022년 7월 18일
I want world peace. But that does not mean I can HAVE world peace. I want a Lamborghini for Xmas. Yeah, right. Not gonna happen either.

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

답변 (2개)

Matt J
Matt J 2022년 7월 18일
But, nobody wants to extract minimum number of control points out of a given curve!!!
There is no minimum number unless the given curve is already a piecewise polynomial, in which case, the number of knots is known immediately from the given form of the piecewise polynomial.
If the given curve is not a piecewise polynomial, it can only be approximated by one. The accuracy of the approximation always improves with additional knots, so there is no "minimum" that can be defined.
  댓글 수: 3
Matt J
Matt J 2022년 7월 19일
If you claim to know the solution, what is your question?
Mehri Mehrnia
Mehri Mehrnia 2022년 7월 20일
I'm not sure and I do not know how to use it.

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


Bruno Luong
Bruno Luong 2022년 7월 20일
Calm down, if you have 1D data, this FEX function provides to compule the spline with reduced knots to approximate the data.
There is no such thing as minimum since its always a compromise between approxmation error and number of knots as soon as you appriximate a function with non-zero fourth derivative (virtually every function infact)
  댓글 수: 1
Mehri Mehrnia
Mehri Mehrnia 2022년 7월 20일
I've just edited the question and remove the min part as confused every one.

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

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by