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.
able to find the length using x = vector but code did not give the output the problem wanted
Very easy and doable.
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....
The Goldbach Conjecture
Test for balanced parentheses
Project Euler: Problem 6, Natural numbers, squares and sums.
Flag largest magnitude swings as they occur
Max of a Vector
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