Problem 576. Return elements unique to either input
Solution Stats
Problem Comments
-
3 Comments
Your description says the inputs will be vectors, but your test suite includes matrices.
+1
Apologies for the incorrect terminology. The description has been updated.
Solution Comments
-
1 Comment
The requirement that redundant elements should be recorded only once should be part of the statement of the problem. Otherwise, Test 6 fails.
-
1 Comment
Test suit is giving error even though logic is working
-
1 Comment
Test suite is not properly managed. I am getting the correct result for the Solution 1607662
-
2 Comments
Hello, there is a problem with test suits 3, 5 and 6.
Please correct them.
Never mind, my result was not a row vector.
-
1 Comment
When I run this solution in my local workspace, I pass... More investigation to be done.
Problem Recent Solvers729
Suggested Problems
-
12039 Solvers
-
Extract leading non-zero digit
1741 Solvers
-
Flag largest magnitude swings as they occur
651 Solvers
-
743 Solvers
-
The sum of the numbers in the vector
538 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!