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
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
Find the numeric mean of the prime numbers in a matrix.
Inner product of two vectors
Find nearest prime number less than input number
07 - Common functions and indexing 6
Find the two-word state names
Word Counting and Indexing
Select every other element of a vector
Remove the polynomials that have positive real elements of their roots.
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