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 Solvers394
Suggested Problems
-
Return the 3n+1 sequence for n
8400 Solvers
-
Sum of diagonal of a square matrix
1605 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
12941 Solvers
-
494 Solvers
-
440 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!