Problem 624. Get the length of a given vector
Solution Stats
Problem Comments
-
7 Comments
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
Solution Comments
-
1 Comment
This is worded really badly. It's asking for the number of elements in the row. not ||x||
-
1 Comment
Practice makes perfect.
-
1 Comment
easy
-
1 Comment
Fairly easy
-
1 Comment
easy!
-
1 Comment
Very easy and doable.
-
1 Comment
easy one
-
2 Comments
simple problem
Good problem
-
1 Comment
good problem
-
1 Comment
p simple
-
1 Comment
I think this question is broken
-
1 Comment
nice
-
1 Comment
pretty simple
-
1 Comment
Shoud be number of elements of a vector. Length of a vector has a different definition
-
1 Comment
This problem requires more than one Test Suite...Please improve the problem.
-
1 Comment
oaw so pro man
-
2 Comments
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....
Problem Recent Solvers8122
Suggested Problems
-
12040 Solvers
-
678 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
483 Solvers
-
Create a two dimensional zero matrix
447 Solvers
-
515 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!