a=[1 0 0 1 0 1 10 1 1 1 0 0 11 0 0 1 1 0 01 0 0 0 1 0 11 1 0 0 0 1 00 1 0 0 0 1 1]b=[0 1 00 1 01 0 00 0 10 0 10 0 10 0 1]c=bsxfun(@times,a,b)
but it is giving error
Error using bsxfunNon-singleton dimensions of the two input arrays must match each other.
how to multiply (6×7) matrix with (7×3) to get a matrix(6×3)
Best Answer