MATLAB: Matrix

matrix

A is an m x n array and B is an r x s array. how do i write an expression to multiply A and B and place the result in array C

Best Answer

C = A * B;
Just make sure that dimensions of A and B are consistent to be multiplied as Suggested by Wayne King above.