photo

MANISH KUMAR


MNIT Jaipur

Last seen: fast 5 Jahre vor Aktiv seit 2016

Followers: 0   Following: 0

Nachricht

Statistik

  • Thankful Level 3

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


Compile multiple cells in a single vector including empty cells as zero elements.
I have this as input H = [] [] [5] [] [3] and I want H = [0 0 5 0 3] as output. Please help!

fast 5 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to define variable sets for changing value of i ?
for Example, in below code, I defined 'DSet' and 'DCount' initially. I want to define these sets for each value of i. for i=...

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Q. How to get the iteration number at which the problem has been converged?
I am running a certain code for 100 iterations, using for loop and the fitness is stored in ‘Best Expected Profit’. The prob...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to write certain data in different sheets of an excel file?
I want to save the data generated for certain variables to multiple sheets of different excel files. For example, I want to s...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to select a row vector with maximum fitness value if few of vectors are restricted to consider?
I want to select a row vector ‘NS’ with maximum ‘newResultTF’ value when some of these row vectors are not considered for evalua...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Please help me in generating new row vectors from a given row vector.
For example, I have a row vector A A = [ 4 2 6 1 5 ]; Whose elements are bounded by an upper bound U...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Please help me in generating a random string(row vector) in which each element has a different upper bound.
For example, I want to generate a row vector A randomly A = [ 4 2 6 1 5 ]; Whose elements are bounded by an upper ...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to convert a row vector into desired matrix?
For example, we have a row vector A A = [ 4 3 6 2 5]; And I want to convert this row vector into a matrix of '5 X 7' c...

fast 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to swap a few rows randomly within the matrix for a set of N matrices?
For example, we have ‘ResultM’ which gives 5 matrices A, B, C, D, E. Now for the first matrix we select a few rows randomly (say...

etwa 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


How to exchange a few rows randomly between matrices A and B (matrix B is selected randomly from a set of N matrices)?
For example we have ‘ResultM’ which gives 5 matrices A, B, C, D, E and we have to exchange a few random rows between matrix A an...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to transfer a few rows randomly from a matrix A to other matrices of the set of N matrices?
For example we have 5 matrices A,B,C,D,E and we select the best matrix based on a certain parameter and suppose it is A, then ...

etwa 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to select the best matrix from a set of matrices and label it as 'TEC' ?
For example, we have 5 matrices A,B,C,D,E and I have to select the best matrix based on a certain parameter and I want to label ...

etwa 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


How to crossover between a set of N matrices?
For example, we have 5 matrices A,B,C,D,E and we select the best matrix based on a certain parameter (TF) and call it teacher, t...

etwa 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


how to run a certain code loop for 'N' times and get 'N' number of output outside the loop.
I have certain code which I run for 'N' times using 'for' loop but after running the loop when I want to get all the N value of ...

mehr als 8 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


How to select two matrices randomly from a set of N matrices and then randomly select a few rows from first selected matrix and then exchange with corresponding rows of other selected matrix.
For example we have 10 matrices A,B,C,D,E,F,G,h,I,J and we select randomly two matrices C and H. And then Randomly select any tw...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to do crossover between two matrices.
Suppose we have two matrices A and B. Now we randomly select the number of a rows which corresponds to a non-zero row and exchan...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Execute a group of 'if' statements in random order
Suppose if we have few 'if' statements and I want these to be executed in random order. For example, here are given five 'if' s...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Please help me in inserting ones in a given matrix in special rows
Suppose if I already have a matrix 'X' having only one '1' in few rows and other rows contains zeros only for example matrix giv...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


I want to generate five matrices [5X10] of '0's and '1's with random generation in which each row may contain maximum one '1'. And with some special interdependence between rows.
For example if 1st row contains '1' then 4th and 5th rows should not contain any '1'. Similarly if 2nd row contains '1' t...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Please help me in generating a matrix of ones for a given matrix
Suppose if I already have a matrix 'X' having only one '1' in each row for example matrix given below X = [0 0 0 ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Please help me in generating multiple matrices
this code is for one matrix X, but I want N = 5 such matrices N = 5; % No. of matrices P = 5; % The number of rows ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Please help me in generating multiple matrices and calculation
this code is for one matrix X, but I want N = 5 such matrices N = 5; % No. of matrices P = 5; % The number of rows T ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


can anyone help in getting a matrix of 0's and 1's in which each row contains only one 1 and that 1 is restricted to take some places in each row?
For example in first row 1 can not take last three positions, in second row 1 can not take last four positions, in third row ...

mehr als 8 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Can anyone help me to generate a matrix of 0's and 1's randomly in which each contains only one 1 like [ 0 1 0 0 0; 1 0 0 0 0; 0 0 0 1 0].
for example [0 1 0 0 0; 1 0 0 0 0; 0 0 0 1 0]

mehr als 8 Jahre vor | 3 Antworten | 0

3

Antworten