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
-
We love vectorized solutions. Problem 1 : remove the row average.
858 Solvers
-
07 - Common functions and indexing 2
416 Solvers
-
Is this triangle right-angled?
6329 Solvers
-
Replace every 3rd element in a vector with 4
258 Solvers
-
266 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!