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 Solvers393
Suggested Problems
-
2309 Solvers
-
Increment a number, given its digits
670 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12879 Solvers
-
07 - Common functions and indexing 2
416 Solvers
-
307 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!