In the test cases you wrote "your_fcn_name(x)" and not "your_fcn_name(x1,x2)" ;-)
Fixed it.
Duplicate of 2081
This user (ALBERT ALEXANDER STONIER) appears to have gamed the system, with fraudulent "likes" of this unremarkable solution submitted by 'sock-puppet' accounts. —DIV
please improve test suite
Back to basics 22 - Rotate a matrix
768 Solvers
587 Solvers
middleAsColumn: Return all but first and last element as a column vector
393 Solvers
construct matrix with identical rows
171 Solvers
278 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!