Given the input x, return 1 if x is vector or else 0.
Solution Stats
Problem Comments
5 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers10748
Suggested Problems
-
Extract leading non-zero digit
2246 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
13665 Solvers
-
440 Solvers
-
836 Solvers
-
2533 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!
Nice..
nice!!!
Simple but very appropriate and effective. Hadn't actually heard of the optimal command for this beforehand.
Good problem
Confused how to attack this problem