Find the dimensions of a matrix - MATLAB Cody - MATLAB Central

Problem 2287. Find the dimensions of a matrix

Difficulty:Rate

Just find the number of columns of the given matrix.

Example

 x = [1 2
      3 4
      5 6]
 y = 2

Solution Stats

72.84% Correct | 27.16% Incorrect
Last Solution submitted on May 16, 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 Solvers540

Suggested Problems

More from this Author8

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!