Jump to content

Piecewise linear interpolation: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

21 October 2026

  • curprev 19:5219:52, 21 October 2026 Rongzhou talk contribs 587 bytes +70 No edit summary
  • curprev 19:3819:38, 21 October 2026 Rongzhou talk contribs 517 bytes +56 No edit summary
  • curprev 19:1419:14, 21 October 2026 Rongzhou talk contribs 461 bytes +461 Created page with "'''Piecewise linear interpolation''' is the process of finding a series of linear functions $L_i(x)$ that for a definite set of datapoints $\{(x_i,y_i)|\ i\in [0,n], i \in N\}$ satisfies $L(x_i)=y_i$. i.e., find $$ L(x)=L_i(x),\, x_i \le x \le x_{i+1} \forall \{(x_i,y_i)| i\in [0,n], i \in N\} \\ L_i(x)=a_i(x-x_i)+b_i $$ == Solution == By definition, $$ L_i(x_i)=y_i,\, L_i(x_{i+1})=y_{i+1} $$ Hence $$ a_i=\frac{y_{i+1}-y_i}{x_{i+1}-x_i},\, b_i=y_i $$"