Can i control all gradients of a spline, not just the end points?

조회 수: 1 (최근 30일)
Edd Hirons
Edd Hirons 2014년 9월 22일
댓글: Edd Hirons 2014년 9월 22일
PROBLEM CONTEXT: I am trying to estimate the y-coordinates of some physical system given that I know x-coordinates and the slopes/gradient of the data (will be <= 10 coordinates). I chose splines so that I do not get over fitting problems with potentially 9th order polynomials!
I would also rather use spline than pchip as I want the gradient curve to be smooth.
If for now I assume that the coordinates are equi-spaced in x and another controlling factor is that the arclength of the spline will be constant does anyone know any way to estimate (iteratively or otherwise) the y-positions? if I can gain some control over the gradients of the spline I believe I should be able to recover the possible y-positions? (i.e. swap my known information from the usual x,y, positions and use the spline to find the gradients and instead use the gradients and x positions to find the y?)
I know this is a second question but its intrinsically linked to the other problem!
Cheers,
Edd

채택된 답변

Matt J
Matt J 2014년 9월 22일
The control over the derivatives that you want is possible through
Arc-length would probably be more work. You would probably need to formulate your own constrained problem using fmincon, I imagine.
  댓글 수: 1
Edd Hirons
Edd Hirons 2014년 9월 22일
Matt, Many thanks for your reply I will need to get some toolboxes it would seem!
Regards, Edd

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

추가 답변 (0개)

카테고리

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