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 Solvers725
Suggested Problems
-
23157 Solvers
-
4796 Solvers
-
Return the first and last characters of a character array
7131 Solvers
-
Matrix which contains the values of an other matrix A at the given locations.
223 Solvers
-
Remove element(s) from cell array
992 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!