Question

minimum of all iterations
A=[1 0 0 1 0 1 1 0 1 1 1 0 0 1 1 0 0 1 1 0 0 1 0 0 0 1 0 1 1 1 0 0 0 1 0 0 1 0 0 0 1 1]; demand=[600;550;620...

5 years ago | 2 answers | 0

### 2

Question

matrix multiplication using bsxfun(@times,a,b)
a=[1 0 0 1 0 1 1 0 1 1 1 0 0 1 1 0 0 1 1 0 0 1 0 0 0 1 0 1 1 1 0 0 0 1 0 0 1 0 0 0 1 1] b=[0 1 0 0 1 ...

5 years ago | 3 answers | 0

### 3

Question

values of matrix change on each iteration
if we want a matrix A=[7x3] such that we iterate 100 times and its values chnage from 1 to 3 randomly on each iteration e.g...

5 years ago | 1 answer | 0

### 1

Question

value of variable is changed in iteration
a=[2 2.8];b=[2.8 3];c=[2.5 3];d=[2 2.8];e=[2.5 3];f=[2.8,3];g=[2.5 3]; m=[]; for z=a; for y=b; for x=c; ...

5 years ago | 2 answers | 0

### 2

Question

I want to multiply 2 arrays
A= [4951; 5782; 9553;10384] B=[2;2.5;2.8;3] C=A.*B or bsxfun(@times,A,B) the result is 1.0e...

5 years ago | 2 answers | 0

### 2

Question

how to display all iterations in one matrix...below is the code which i run and get the value of z in separate vectors..how to combine them in one.
DP1=100; DP2=200; PP1=[2 4;3 5;4 1]; PP2=[1 3;2 2;3 1]; POWER=[3;5;4]; C=0.5; E1=sum(bsxfun(@t...

5 years ago | 1 answer | 0

### 1

Question

any industrial engineer?
i need help regarding machine grouping using genetic algorithm

6 years ago | 1 answer | 0