MATLAB: How to multiply matrix vectors with one column

matrix array

if i have matrix M = [1 0 1 0; 1 0 0 1;1 1 1 0;1 1 1 1; …] and i want to multiply each row with one cloumn B=[1 0 0 1] how to do this?

Best Answer

M*B'
Related Question