There could be other test cases for this particular problem such as for example if one of the inputs (either x or y) is a column vector.
Make the vector [1 2 3 4 5 6 7 8 9 10]
35631 Solvers
434 Solvers
Determine Whether an array is empty
646 Solvers
Getting the row and column location from a matrix
236 Solvers
07 - Common functions and indexing 2
316 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!