Matlab Practical Quiz: Piecewise Linear Spline

Duration: 30 mins

Description:
Implement Piecewise Linear Spline that we studied in class. Your code takes a vector of distinct abscissas (Xk's) and another vector of their respective (Yk's), computes linear splines that pass through the points, and plots the original points and splines.

Example 1

Example 2