DIVIDING and MUlLTIPLYING multidimensional matrices
조회 수: 11 (최근 30일)
이전 댓글 표시
Hello, I am quite a new to Matlab. I am struggling to find a way how to DIVIDE and MULTIPLICATE multidimensional complex matrices. Suppose that matrices are A (2x2) and B(2x2) both with 100 arrays.Thank you a lot..
댓글 수: 6
Jan
2018년 3월 6일
2x2 matrices have 4 elements, but they cannot "have 100 arrays". Matrices do not have arrays at all, but they are a special arrays, namely with 2 dimensions.
Now we know, that you do not want an elementwise multiplication, but what to you want instead?
Stephen23
2018년 3월 8일
"we talk about matrices (A and B)contains 2 rows and 2 columns (2x2) and both have 100 arrays"
Are A and B cell arrays or structure arrays, containing numeric matrices?
답변 (1개)
Jan
2018년 3월 6일
Because I do not understand, what your inputs are, it is a bold guess only to suggest these functions:
- https://www.mathworks.com/matlabcentral/fileexchange/47092-vectorized-multi-dimensional-matrix-multiplication
- https://www.mathworks.com/matlabcentral/fileexchange/10062-multi-dimensional-matrix-product--outer-product-and-partial-trace
- https://www.mathworks.com/matlabcentral/fileexchange/16275-tprod-arbitary-tensor-products-between-n-d-arrays
- https://www.mathworks.com/matlabcentral/fileexchange/25977-mtimesx-fast-matrix-multiply-with-multi-dimensional-support
- https://www.mathworks.com/matlabcentral/fileexchange/37515-mmx-multithreaded-matrix-operations-on-n-d-matrices
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!