Problem 42480. Go back n times
Solution Stats
Problem Comments
-
4 Comments
I imagine you are going to need to use "isequalwithequalnans" in your testsuite instead of "isequal" for this problem
Now, I have changed the assert statement
Example is wrong. Input vector x must be
x = [1; 2; 3; 4; 5; 6]
not
x = [1; 2; 3; 4; 5; 6; 7; 8]
Thanks Massimo. Changed it
Solution Comments
-
2 Comments
I believe in tests 3&4 you may be missing a 3 here and there?
That's right, I have fixed it too
Problem Recent Solvers38
Suggested Problems
-
20975 Solvers
-
Find out missing number from a vector of 9 elements
262 Solvers
-
244 Solvers
-
Matlab Basics - Logical Tests I
212 Solvers
-
Rotate a matrix for 180 degree
135 Solvers
More from this Author76
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!