Just find the number of columns of the given matrix.
Example
x = [1 2
3 4
5 6]
y = 2
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers564
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
53382 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2055 Solvers
-
First non-zero element in each column
963 Solvers
-
Convert a Cell Array into an Array
2312 Solvers
-
Returning a "greater than" vector
277 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!