I would suggest trying not to give away a solution within the test suite.
wouldn't be better to remove TestSuite's case6:the empty matrix? it make arrayfun more suitable.
Matrix indexing with two vectors of indices
485 Solvers
Create a matrix X, where each column is a shifted copy of the vector v
142 Solvers
Create a vector whose elements depend on the previous element
391 Solvers
Do Fast Fourier Transformation
221 Solvers
480 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!