innerpoints

Calculates the inner points of an interpolation or spline. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Parameter matrix m
  2. String value - 'linear', 'polynomial', 'ratio', 'cubic', 'akima', 'hermit', 'cubic b'
  3. Number of inner points between two nodes, positive integer value n

Output

Vector of inner points

Examples

innerpoints