The test suite has been updated to check submissions against a tolerance rather than using an exact value.
what is the problem in this question? I solve it and I know my answer is correct.
After updating the test suite, your answer now passes (I re-scored it).
nice problem, thanks
Matrix indexing with two vectors of indices
Return the first and last characters of a character array
find the maximum element of the matrix
Height of a right-angled triangle
Number Puzzle - 058
Number Puzzles - 020
Number Puzzles - 001
Number Puzzle - 051
Matrix Pattern 3
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