If you have time series data with no particular independent variable other than the index of the data point itself, you can construct a vector for the x-axis before using smoothing functions.
1. Define a vector that describes the heatflow.
2. Create a vector of integers which is the same size as the matrix data.
3. Call smoothing functions using vector x as an argument where needed.