What should I use for cubic function approximation/polynomial approximation?

조회 수: 12 (최근 30일)
I have a curve like spectrum that contains some noise, I like to use the principle of polynomial approximation to approximate this spectrum.

채택된 답변

Star Strider
Star Strider 2014년 2월 21일
I’m not sure what you want, but one option is polyfit. The end of the page links to necessary related functions, such as polyval.
Another option that you may be referring to is Cubic Spline Data Interpolation ( spline ).
  댓글 수: 2
kemi
kemi 2014년 2월 21일
Thanks very much could you please explain this spline further, it looks like that will solve my problem, can I read the details of this function on MATLAB?Many thanks once again
Star Strider
Star Strider 2014년 2월 21일
My pleasure! The documentation for spline explains it better than I ever could.
Note that the blue type in my answer are hyperlinks, so clicking on spline in it will open the correct page in the MATLAB documentation.

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

추가 답변 (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