This problem requires more than one Test Suite...Please improve.
The explanation of this problem is a bit confusing. It can mean, that one should compute the length of the array itself or the length of a vector in a coordinate system. I saw what was meant looking at the tests. But before I was confused.
I think this question is broken
Shoud be number of elements of a vector. Length of a vector has a different definition
This problem requires more than one Test Suite...Please improve the problem.
Not clear whether the problem is asking for the geometric length (norm) or number of elements.
you are right, the author should rephrase the description....
Determine whether a vector is monotonically increasing
Find relatively common elements in matrix rows
Is the Point in a Triangle?
How many trades represent all the profit?
Volume of a box
Determine Whether an array is empty
Rotate a 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