This would be better as "find the nth element of an array." Also, a column matrix doesn't exist. Perhaps you meant column vector, though the variables in your test cases are row vectors.
3098 Solvers
4135 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3897 Solvers
294 Solvers
Finding perimeter of a rectangle
280 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!