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 Solvers11454
Suggested Problems
-
2379 Solvers
-
952 Solvers
-
1072 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14453 Solvers
-
711 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