0

I have the following variables:

A of dimensions [126 X 3] B of dimensions [3 x 2]

what is the python equivalent of the matlab multipication C = A*B'

C is a matrix of dimension [126 x 2]

2

2 Answers 2

2
import numpy as np c = np.dot(a, b) 
Sign up to request clarification or add additional context in comments.

Comments

1

For Python 3.5 or later, you can use the @ matrix multiplication operator:

C = A@B 

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.