You are using the new UI (Beta).Return to the original UI

This page has been automatically translated by machine translation. Please note that translations may not be entirely accurate.

keisanHigh-precision calculations for everyday life and work

Hadamard product of matrices

Manage Bookmarks
Calculate the Hadamard product of two matrices. The Hadamard product is the element-wise product of the matrices.
\(\hspace{30px}A \circ B=C\\ \normalsize{\left[\begin{array}\\ a_{\small 11}& \cdots& a_{\small 1k}\\ a_{\small 21}& \cdots& a_{\small 2k}\\ \vdots& \ddots& \vdots\\a_{\small j1}& \cdots& a_{\small jk}\\\end{array}\right]} \circ {\left[\begin{array}\\ b_{\small 11}& \cdots& b_{\small 1k}\\ b_{\small 21}& \cdots& b_{\small 2k}\\ \vdots& \ddots& \vdots\\b_{\small j1}& \cdots& b_{\small jk}\\\end{array}\right]}={\left[\begin{array}\\ a_{\small 11}b_{\small 11}& \cdots& a_{\small 1k}b_{\small 1k}\\ a_{\small 21}b_{\small 21}& \cdots& a_{\small 2k}b_{\small 2k}\\ \vdots& \ddots& \vdots\\a_{\small j1}b_{\small j1}& \cdots& a_{\small jk}b_{\small jk}\\\end{array}\right]}\\ \)
(Click on each cell in the matrix to enter values)
Matrix A
{ajk} 
 j\k 123
1
2
3
Matrix B
{bjk} 
 j\k 123
1
2
3
The Hadamard product A◦B of matrices can only be performed when A and B have the same number of rows and columns.

\(A \circ B=C\hspace{30px}\normalsize c_{jk}= a_{jk}b_{jk}\)

No customer feedback for this calculation yet.