Solved
Here is a utility function. The input is a vector of scalar values of any length. The return value is that vector element which occurs least often. If there are several, the first one to appear is chosen.

And here is a function working just for your special case of a three element vector with one single value

Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.


