How to accelerate matrix operations(multiplication, add, inverse) in a for loop?

2 posts were split to a new topic: Julia vs Matlab side thread