Clear Filters
Clear Filters

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

2 views (last 30 days)
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,

Answers (0)

Categories

Find more on Operators and Elementary Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!