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 Solvers562
Suggested Problems
-
Select every other element of a vector
36480 Solvers
-
Arrange Vector in descending order
13463 Solvers
-
358 Solvers
-
Convert a vector into a number
616 Solvers
-
925 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!