photo

Sicheng Zhang


Last seen: mehr als ein Jahr vor Aktiv seit 2016

Followers: 0   Following: 0

Statistik

Feeds

Anzeigen nach

Frage


Should I develop metaheuristics like GA, ACO, PSO etc. using Matlab, or MEX and C++, or purely C++, Java etc.
I have been working around solving different optimization problems, mostly NP hard combinatorial optimization problems, such as ...

etwa 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Question on speed of for loop and repmat/repelem 'vectorization'
I am studying a scheduling problem which concerns on assigning series of jobs to a number of operators with multiple time window...

mehr als 6 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


Manipulating matrices/vectors in GPU array operation
I am currently dealing with tasks manipulating matrices/vectors in a large number of different ways in parallel. I attempted to ...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I avoid using for loops in the following problem?
|B=[b1,b2,..,bn]|, |C=[c1,c2,...,cn]| , and |D=[d1,d2,...,dn]|are known. A scalar |A(0)| is also known. I need to calculate |A(1...

fast 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How can I obtain another vector for a known vector, such that the elements of the new vector are the time that the element at the corresponding position in the known vector appears in it, without using loops?
For example, if A=[1 2 3 4 5 6], then B=[1 1 1 1 1 1]; if A=[1 1 2 2 3 3], then B=[1 2 1 2 1 2]; if A=[1 1 1 3 4 3], then B=[1...

etwa 7 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How do i find the index from a logical array that meets the condition, without using for loop?
I would like to find the minimum index _i_ from a logical array _a_ such that _n_ consecutive elements starting from i are all 1...

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How do I avoid using for loop when I want to treat the rows of a matrix individually?
For each row of 2-column matrix A, for example a1=[1 2], I would like to do the following: 1) Find all rows of 4-co...

fast 9 Jahre vor | 2 Antworten | 0

2

Antworten