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
-
28097 Solvers
-
Return the 3n+1 sequence for n
8341 Solvers
-
Back to basics 22 - Rotate a matrix
909 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
611 Solvers
-
Given a window, how many subsets of a vector sum positive
856 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!