Problem 2914. Matlab Basics II - Count rows in a matrix
Write a function that returns that number of rows in a vector or matrix x
example: x = [1; 2; 3]
output = 3
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers392
Suggested Problems
-
3005 Solvers
-
2408 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12749 Solvers
-
convert matrix to single column
422 Solvers
-
466 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!