I'm trying to translate a matlab code, and I'm strugeling to translate this part of the code:
[data;SS(ind-1:-1:ind-9)']
In the following context:
SS = 1:288
year = 1:288
data = [];
for ind = 10:length(year)
data = [data;SS(ind-1:-1:ind-9)'];
end
What I've done at the moment is:
SS = range(1,288);
year = range(1,288);
data = [];
for ind in range(10,length(year)):
data.append(######) # code to translate