Feeds
질문
multiply scalar with struct regarding
is possible to multiply a scalar value with struct field?if possible plz help me?
대략 8년 전 | 답변 수: 1 | 0
1
답변질문
i got error at the line"stream(j).Position=stream(j).Position+2.*rand(1).*(sea.Position-stream(j).Position);" in Subscript indices must either be real positive integers or logicals. please help me.
for i=1:Npop pop(i).Position=LB+(UB-LB).*rand; pop(i).Cost=objective_function(pop(i).Position); end [p...
거의 9년 전 | 답변 수: 0 | 0
