Answers are wrong. They ignore leap days. There are four from 15-Jan-2000 thru May 2012. function datenum provides correct answer
I agree with Richard. I also think that the first two out of the three test cases are wrong.
I also agree with the above comments
as do i
I went ahead and updated the test.
daysact(x1,x2) not working
function ans = countDays(x1,x2)
daysdif(x1, x2);
end
this working my system but test suit fails
help me
Which values occur exactly three times?
3816 Solvers
Matrix indexing with two vectors of indices
485 Solvers
Sum the numbers on the main diagonal
453 Solvers
07 - Common functions and indexing 5
314 Solvers
273 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!