Based on recommendation from @AugLuk, we should focus on using [this reference](https://se.mathworks.com/help/matlab/matlab_prog/compatible-array-sizes-for-basic-operations.html) as the standard.