Applies a binary function f element-wise to two matrix arguments a and b. The function f must be capable of accepting two column vector arguments of equal length, or one column vector argument and a scalar.
The dimensions of a and b must be equal or singleton. The singleton dimensions of the matrices will be expanded to the same dimensionality as the other matrix.