Matlab Basics II - Count rows in a matrix - MATLAB Cody - MATLAB Central

Problem 2914. Matlab Basics II - Count rows in a matrix

Difficulty:Rate

Write a function that returns that number of rows in a vector or matrix x

example: x = [1; 2; 3]

output = 3

Solution Stats

69.68% Correct | 30.32% Incorrect
Last Solution submitted on Jun 04, 2025

Problem Comments

Solution Comments

Show comments
Why should you share code?
In a discussion on LInkedin about my recent blog post, Do these...
2
3

Problem Recent Solvers388

Suggested Problems

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!