[Scilab-users] Multiplication of hyper-matrix

fujimoto2005 fujimoto2005 at gmail.com
Mon Nov 25 06:01:09 CET 2019


Is it possible to do the following code without k loop?

A=rand(5,4,10)
B=rand(5,4,10)
C=zeros(4,4,10)
for k=1:10
	X=matrix(A(:,:,k),5,4)
	Y=matrix(B(:,:,k),5,4)
	C(:,:,k)=Y'*X
end

Best regards,
Masahiro Fujimoto




--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html



More information about the users mailing list