The indices of the input->output do not match (i.e. y(end) corresponds to x(1)). Was this done on purpose?
I really don't think the "y_correct" answer in test suite is correct.
the test suite answer is wrong
flipud
Either the test suite is Incorrect or OP has not explained the problem properly.
Anyway, it needs to be changed.
Which values occur exactly three times?
3837 Solvers
Is my wife right? Now with even more wrong husband
1245 Solvers
Getting the indices from a matrice
367 Solvers
975 Solvers
61 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!