Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
matrix of two arrays(array1,array2) and combine into third array ( result )
Home
NumPy
matrix of two arrays(array1,array2) and combine into third array ( result )
+1
vote
asked
Jul 9, 2021
in
NumPy
by
rajeshsharma
matrix of two arrays(array1,array2) and combine into third array ( result )
combine-array
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 9, 2021
by
rajeshsharma
array1=np.array([[1,2,3],[4,5,6],[7,8,9]],ndmin=3)
array2=np.array([[9,8,7],[6,5,4],[3,2,1]],ndmin=3)
result=np.multiply(array1,array2)
print(ā\n result \nā,result)
...