Problem 624. Get the length of a given vector
Given a vector x, the output y should equal the length of x.
Solution Stats
Problem Comments
-
8 Comments
Show
5 older comments
Anjana Srivastava
on 13 Jul 2022
Very fun problem
Ajinkya
on 14 Oct 2022
nice
Nicklas Grønvall
on 7 Aug 2023
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. -.-'
Solution Comments
Show commentsGroup

BMEG309
- 10 Problems
- 45 Finishers
- Find the sum of all the numbers of the input vector
- Select every other element of a vector
- Arrange Vector in descending order
- Get the length of a given vector
- Flip the vector from right to left
- Whether the input is vector?
- Bullseye Matrix
- Determine if input is odd
- Draw a '0' in a one matrix!
- Tell me the slope
Problem Recent Solvers11665
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!