Nice...
i though this would simply worked by isequal function, but its not for the 2nd test suite, why its happening?
Can add more test cases with data including 'inf' to fail my solution.
middleAsColumn: Return all but first and last element as a column vector
393 Solvers
Matrix indexing with two vectors of indices
491 Solvers
302 Solvers
2473 Solvers
Solving Quadratic Equations (Version 1)
429 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!