please fix testsuite
The test suite now takes the input variables, instead of x. It also tests against a tolerance now.
However, there is no reference solution and none of the legitimate attempts thus far pass the test case, so I hope that the updates function properly.
The second output value seems to be wrong.
The test suite seems to pass 'x'. which does not exist.
Return the largest number that is adjacent to a zero
Number of 1s in the Binary Representation of a Number
Reverse the Words (not letters) of a String
Find the elements of a matrix according to a defined property.
Sum the elements in either diagonal of a square matrix
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