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
-
Select every other element of a vector
33702 Solvers
-
Which values occur exactly three times?
5139 Solvers
-
Change the sign of even index entries of the reversed vector
571 Solvers
-
350 Solvers
-
Back to Basics - Find no. of elements in a matrix?
311 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!