The testsuite input does not following the input format string.
Having a hard time with the test suite regarding the number of hours in one year. I think it should be 8 765.81277h/y
The test suite doesnt follow. it should be double digit days and month, not single digits according to his descrption
having problems with the test suite especially test no 3
having problems with test no 3 of the test suite,why?
It's a fun problem
the test suits are all passed , but the mathworks net tells its wrong.
and the size is '-1'.
i use the datenum function.
I use format bank to get 2 decimal output, anyone has a better idea?
using existing functions makes this trick easy
with an existing funcion it is solveable
function elapsed= elapsed_time(d1,d2)
it told me that solution is wrong?
This test program is wrong.To judge a leap year, you need to calculate if the following condition is satisfied mod(year,4)==0 & mod(year,100)~=0 & mod(year,400)==0. However, this team only count those years that mod(year,4)==0
why this function returns an error it works perfectly on my pc
the test suits are all passed , but the mathworks net tells its wrong. and the size is '-1'. i use the datenum function.
The value of d1 in Test Suite #3 is not to spec (one digit for the month).
Love the little "if" in the end ! :D
doesn't work any longer
How to find the position of an element in a vector without using the find function
Split a string into chunks of specified length
Fibonacci-Sum of Squares
Sum of odd numbers in a matrix
Find state names that end with the letter A
Clean the List of Names
Return a list sorted by number of occurrences
The Goldbach Conjecture, Part 2
Renaming a field in a structure array
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office