I have the following:
x = 1:365;
y = T;
xx = missing;
yy = spline(x,y,xx)
I have data T
, which is 365 days of data, and missing
is a vector containing the days on which the data is faulty. I need to generate estimated values at the missing days. However, when I use the above syntax, it returns a vector of 0s. What am I doing wrong?