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 Solvers381
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15600 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
611 Solvers
-
Simple equation: Annual salary
4201 Solvers
-
277 Solvers
-
785 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!