MATLAB: What does this syntax mean

syntax;end-364:end;merton;kmv

Can you explain to me what does it mean this syntax end-364:end? Thank you

Best Answer

It looks like it would be inside an array and mean that it's taking the last 365 elements of the array. E.g.
last365elements = data(end-364:end);