Community Profile

photo

Muhammad Sam'an


Last seen: 거의 2년 전 2020년부터 활동

Followers: 0   Following: 0

통계

Feeds

보기 기준

질문


I use the while function for iteration but when the process is running can't stop ... please help me ... what should I do?
function [Solution, OverallCost]=VAM(CostsMtx, resources_col, demands_row) %[CostsMtx,ss,sd]=inputFun(CostsMtx, resources_col...

대략 3년 전 | 답변 수: 0 | 0

0

답변

질문


i need help to make mathlab code step 4 and step 5?
i have mathlab code about genetic algorithm .. my mathlab code is only at the chromosome selection stage pop_size = ...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How to make sigma from my problem using math lab code?
I want to calculate eval (x (pop_size)) = sigma (c (i, j) * x (i, j)) where i = 1 to m and j = 1 to n and I also want to calcula...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to write the mathlab code for the sigma formula below?
suppose I have a value Eval (X_1) = 40 Eval (X_2) = 30 Eval (X_3) = 70 Eval (X_4) = 80 Eval (X_5) = 24 Eval (X_6) = 35 Ev...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


want to loop as much as pop_size with each iteration out i, j, x (i, j), s (i) and d (j) ... can anybody help fix my looping function?
clc;clear;close all; c=[10 2 20 11 12 7 9 20 4 14 16 18]; s=[15 25 10 ]; d=[5 15 15 15]; [m,n]=size(c)...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How do I create an exact looping code for my following problem?
I have the following mathlab code clc;clear;close all; c=[10 2 20 11 12 7 9 20 4 14 16 18]; s=[15 25 10 ...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to generate nonzero x (i, j) values using loop function 1: pop_size?
let c=[10 2 20 11 12 7 9 20 4 14 16 18]; s=[15 25 10]; d=[5 15 15 15]; [m,n]=size(c); pop_size=25 ...

3년 초과 전 | 답변 수: 0 | 0

0

답변

질문


how to use the randi function to perform random numbers provided that no random number results are repeated or are not the same?
i want to do random numbers phi = 1: 4 looping using the randi function. I want each iteration not to come out the same number...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to make a looping function to delete all members in a phi set?
Let let phi= [ 1, 2 , 3, 4] k=randi[(phi),1,1] k=3 newphi(newphi==k)=[] phi=[1,2,4] I want to loop until phi = empty set...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to loop rand number without repition?
I Have set phi = [ 1,2,3,4,5,6,7,8,9,10,11,12] i want rand phi with looping with requirment for each iteration resulted sing...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


how to make a mathlab code with different values of k or without the value of k which is the same as k is a random number of phi and phi = (1,2, ...., m * n)
I have m = 4 and n = 5 set phi = (1,2,3, ..., m * n) k = rand (phi) I want to make a loop with the accuracy of each step t...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to delete k in random n set number?

3년 초과 전 | 답변 수: 1 | 0

1

답변