photo

Israel Campiotti


Active since 2017

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


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 ago | 2 answers | 0

2

answers

Question


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 ago | 2 answers | 0

2

answers