How to vectorice a set of linear system of equations over 4D and 3D matrices

1 次查看(过去 30 天)
Dear
I have a 4D and a 3D matrix, and over them we have to perform the following operations:
for i=1 to n
for j=1 to m
v(i,j,:)=Jac(:,:,i,j)\F(:,i,j);
end
end
Is there any way to vectorize this operation in order to improve the efficiency?
Many thanks,

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operators and Elementary Operations 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by