How about:
a~=b && a~=c && b~=c
or...
numel(unique([a,b,c])) == 3
or many other ways.
How about:
a~=b && a~=c && b~=c
or...
numel(unique([a,b,c])) == 3
or many other ways.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!