mathlab if or and code example Example: mathlab if or and if FreqSec(1,r+1) > FreqSec(r)*1.01 | FreqSec(1,r+1)