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 Solvers363
Suggested Problems
-
Remove any row in which a NaN appears
8443 Solvers
-
Project Euler: Problem 7, Nth prime
1392 Solvers
-
Duplicate each element of a vector.
596 Solvers
-
Sum the numbers on the main diagonal
567 Solvers
-
252 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!