Find the length of a vector.
So if A = [1 1 1 1 1]
Then B = 5
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers215
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2056 Solvers
-
Sum all integers from 1 to 2^n
17896 Solvers
-
Create an index-powered vector
963 Solvers
-
726 Solvers
-
Count decimal digits of a number
236 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!