The if statement did not work for x =1.
Their is a function for this already.
iscolumn(x)
I guess this exercise is about learning that this function exists.
292 Solvers
Matrix indexing with two vectors of indices
492 Solvers
Implement simple rotation cypher
955 Solvers
494 Solvers
07 - Common functions and indexing 1
353 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!