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.62% Correct | 30.38% Incorrect
Last Solution submitted on May 08, 2025

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8

Problem Recent Solvers387

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!