

Doubts on how I make the sets
I have a college assignment to do in scilab, what happens is that I'm having doubts about how I can solve the exercise in the program.
These are the operation

Scilab


I am not clear about the 1st operation, but for the remaining operation you can explore the following commands.
Let us take, A = [1, 5, 6, 9, 2, 7, 3, 4], B = [4, 6, 2]
2nd operation -> A(~members(A,B))
3rd operation -> union(A,B)
4th operation -> intersect(A,B)
5th operation -> setdiff(A,B)
6th operation -> union(setdiff(A,B), setdiff(B,A)
Login to add comment