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.
Get the area codes from a list of phone numbers
537 Solvers
Check if number exists in vector
4680 Solvers
370 Solvers
Do Fast Fourier Transformation
225 Solvers
Matlab Basics - Absolute Value
364 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!