Feeds
提问
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 ...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 2 个回答 | 0