So I have, say, 5 different vectors or matrices. I basically want to make an If statement on whether any one of these matrices contains a specific element (e.g. 2), and then display some value (e.g. 8) if any of these matrices does contain this element. It doesn't matter if four of these matrices don't contain the element, if one does then I will display 8.
Thanks for the help