Given a vector x, the output y should equal the length of x.
Solution Stats
Problem Comments
10 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers13593
Suggested Problems
-
Remove the polynomials that have positive real elements of their roots.
1743 Solvers
-
Arrange Vector in descending order
13873 Solvers
-
Back to basics 11 - Max Integer
811 Solvers
-
Fahrenheit to Celsius converter
611 Solvers
-
2097 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
This problem requires more than one Test Suite...Please improve.
nice
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 quick!
Very fun problem
nice
Haha, it took me a couple of minutes to fully understand that it was the vector's element length and not the vector's magnitude that was needed. -.-'
Amazing
is only use length , it's in the documentation