How to perform element wise multiplication in Ipython notebook?

ipython

#1

Some languages like MATLAB we can perform element wise multiplication by using *.I want to know how to perform element wise multiplication in Ipython notebook using numpy library.
my two matrix are

In [194]: x = np.array([[1., 2., 3.], [4., 5., 6.]])
In [195]: y = np.array([[6., 23.], [-1, 7], [8, 9]])

I am able to perform matrix multiplication

In [198]: x.dot(y) 
Out[198]:
array([[ 28., 64.],
[ 67., 181.]])

#2

@sid100158- As like in MATLAB the element-wise multiplication is performed by * . Similarly, you can perform the element-wise multiplication in Ipython.

I would suggest you to look at the below reference for Matrix operations.
http://www.python-course.eu/matrix_arithmetic.php

Hope this helps!

Regards,
Hinduja