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 Solvers402
Suggested Problems
-
14055 Solvers
-
Is my wife right? Now with even more wrong husband
1339 Solvers
-
Set the array elements whose value is 13 to 0
1435 Solvers
-
Check if number exists in vector
13784 Solvers
-
2509 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!