Navigation

Operators and Keywords

Function List:

C++ API

eomday.m File Reference


Functions

endfunction !assert (eomday([-4:4], 2),[29, 28, 28, 28, 29, 28, 28, 28, 29])%!assert(eomday([-901
endfunction !assert (eomday([-100, 100], 2),[28, 28])%!assert(eomday([-900
endfunction !assert (eomday([-400, 400], 2),[29, 29])%!assert(eomday([-800

Variables

function e
endif eom = [31, 28, 31, 30 ,31, 30, 31, 31, 30, 31, 30, 31]
endfunction !assert (eomday(2001, 1:12),[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31])%!assert(eomday(1
endfunction!demo !y = 1900:1999
 !e = eomday (y, 2 * ones (1, 100))

Function Documentation

endfunction !assert ( eomday([-400, 400], 2)   ) 

endfunction !assert ( eomday([-100, 100], 2)   ) 

endfunction !assert ( eomday([-4:4], 2)   ) 


Variable Documentation

endfunction !assert(eomday(2001, 1:12),[31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31])%!assert(eomday(1

!e = eomday (y, 2 * ones (1, 100))

endfunction !demo !y = 1900:1999

e

Initial value:

 eomday (y, m)

  if (nargin != 2)
    print_usage ()

endif eom = [31, 28, 31, 30 ,31, 30, 31, 31, 30, 31, 30, 31]