Can someone help me understand the proper use of where? I want to use it like this myvect=where(f>19.5 and phase>0, f, phase) but I seem to be getting or rather than and. Thanks, Ryan