Cody

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

Created by Yaz Majeed in Community

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

example: x = [1; 2; 3]

output = 3

Solution Stats

67.22% Correct | 32.78% Incorrect
Last solution submitted on Apr 21, 2019