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.
4596 Solvers
3892 Solvers
835 Solvers
Back to basics 11 - Max Integer
678 Solvers
242 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!