I am looking to achieve something that seems fairly simple, just not sure how to implement ORs in an IF statement:
A = [4 6 7; 3 4 7; 8 7 1]
C = 6
if C is in first row of A
(i.e. if row 1 contains 6, basically -- IF C = 4 or C=6 or C=7)
(then do this)
end
Any suggestions?