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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Operators and Elementary Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!