summation of products of matrices
조회 수: 1 (최근 30일)
이전 댓글 표시
I would like so have a fast solution to this problem


댓글 수: 0
답변 (1개)
Daniel Neubauer
2022년 11월 4일
편집: Daniel Neubauer
2022년 11월 4일
take a look at
is that what you need?
p=3;
m=4;
i=5;
E=ones(p,p,i);
A=rand(p,m,i);
Sum=sum(pagemtimes(pagemtimes(A,'C',E,'N'),A),3)
댓글 수: 4
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!