MATLAB R2016b featured a generalization of its scalar expansion1,2 mechanism, to also support certain element-wise operations between arrays of different sizes, as long as their dimension are compatible.
The operators that support implicit expansion are1:
Element-wise arithmetic operators: +, -,...