This is my code
for i= 1:length(t)
h(i)=t(i)
if % condition here??
myfunction(h)
end
end
t is a date array like:
2009-05-07
2010-05-09
2011-05-16
2012-05-21
2014-05-24
2016-05-27
2016-05-31
I want to make an if test or something that makes dates before 2011 not go into the function.