How can I retrieve the numbers that appears only one time in a cell?

1 view (last 30 days)
cell = {[1 2 3] [3 4] [1 2 3 4 5 6] [4 6 7]};
The desired answer would be: 1 2 3 4 5 6 7.
Thank you all and best regards.

Accepted Answer

madhan ravi
madhan ravi on 23 Nov 2018
Edited: madhan ravi on 23 Nov 2018
unique([cell{:}])

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!