How to find the part of a larger table or array that is not in a smaller table or array?

2 views (last 30 days)
Hi,
I have two tables A and B, each have a column dates, A.dates, B.dates. How to find out the part that is in B but not in A, or wise versa?
Thanks!
  1 Comment
JFz
JFz on 10 Jan 2018
The reason is that A.dates is all dates in a month; B.dates is only weekdays. I want to mark the week days or weekends by another column: A.Weekends.

Sign in to comment.

Accepted Answer

Birdman
Birdman on 10 Jan 2018

More Answers (0)

Categories

Find more on Environment and Settings in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!