This problem requires more than one Test Suite...Please improve.
nice
nice
pretty simple
Shoud be number of elements of a vector. Length of a vector has a different definition
You are correct, however, given the fact that the input is in the form of a vector, this also returns the correct answer.
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....
338 Solvers
Make a run-length companion vector
520 Solvers
866 Solvers
538 Solvers
340 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!