Problem 576. Return elements unique to either input
Your description says the inputs will be vectors, but your test suite includes matrices.
Apologies for the incorrect terminology. The description has been updated.
The requirement that redundant elements should be recorded only once should be part of the statement of the problem. Otherwise, Test 6 fails.
Test suite is not properly managed. I am getting the correct result for the Solution 1607662
Hello, there is a problem with test suits 3, 5 and 6.
Please correct them.
Never mind, my result was not a row vector.
When I run this solution in my local workspace, I pass... More investigation to be done.
Problem Recent Solvers733
Convert a numerical matrix into a cell array of strings
middleAsColumn: Return all but first and last element as a column vector
Who is the smartest MATLAB programmer?
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!