Anybody know how to simplify this?
I have two pieces of code that I would like to know if there is another way to write them for i = 1:m for j = 1:n ...
mehr als 4 Jahre ago | 2 answers | 0
How to optimize this loop
I want to do a loop like this for i = 1:n A(i,B(i,1)) = 1; end but my matrix has size one million. Is there a wa...
fast 5 Jahre ago | 2 answers | 0