Find elements of set A those are not in set B - MATLAB Cody - MATLAB Central

Problem 42700. Find elements of set A those are not in set B

Difficulty:Rate

Given two sets of data A and B. Find elements of A those are not in set B.

For example: A = [1 5 3], B = [4 250 558 22 0 1 3] should return ele = 5.

Solution Stats

89.02% Correct | 10.98% Incorrect
Last Solution submitted on Jun 24, 2025

Solution Comments

Show comments

Problem Recent Solvers71

Suggested Problems

More from this Author1

Problem Tags

Community Treasure Hunt

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

Start Hunting!