Why does the cscvn function of matlab have 4*2*(n-1) coefficients?

조회 수: 2 (최근 30일)
Ashkan Rigi
Ashkan Rigi 2021년 11월 6일
편집: David Goodmanson 2021년 11월 9일
Hello every body. I can not understand why the function of cscvn of matlab have 4*2*(n-1) coefficients. n is the number of x valeus.

답변 (1개)

David Goodmanson
David Goodmanson 2021년 11월 9일
편집: David Goodmanson 2021년 11월 9일
Hello Ashkan,
factor of (n-1) because n points --> (n-1) intervals, and the polynomials are defined on the intervals
factor of 4 because each polynomial is a cubic and has four coefficients
factor of 2 because each of x and y are defined separately and implicitly by a parameter that is related to arc length

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by