Okay, time for some Matlab annoyances.
[] is the empty matrix.
| is logical or.
[] | 1 evaluates to []. In other words,
if ( [] | 1 )
function();
end
will never call function.
Okay, time for some Matlab annoyances.
[] is the empty matrix.
| is logical or.
[] | 1 evaluates to []. In other words,
if ( [] | 1 )
function();
end
will never call function.
wtf omg ffs