Question


how to change this code to search on column ?
A=[ 0 0 1 0 1 0 1 4 1 0 10 10 6 5 1 1 1 5 6 10 ] ...

ungefär 8 år ago | 0 answers | 0

0

answers

Question


how to do this operation to calculate a new matrix ?
IF i have this matrix A=[ 3 2 0 2 1 1 5 4 0 3 2 0 4 3 1 ...

ungefär 8 år ago | 2 answers | 0

2

answers

Question


if i have some matrix how can i do this operation on it ?
if i have matrix where the size of it is (2,5) and i have a matrix a = [ 1 3 3 1 ] * where a matrix show how many ...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


how to add some value to random matrix with specific condition?
if i have A represent the number of group ones in matrix in the row A = [ 1 2 0 2 1 1 3 1 1 ] i wan...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


if i have matrix how to do this operation on it ??
and if i have this matrix A , a , b A = [ 1 3 1 1 2 2 2 0 ] a = [ 4 whic...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


how to compute number of element in matrix ?
if i have this matrix A = [ 1 3 2 0 2 2 1 0 1 2 1 1 ] first i want to compute x which mean the sum of ...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


how to convert from image to binary matrix ?
how i can used a photo from phone to convert it to a binary matrix

ungefär 8 år ago | 1 answer | 0

1

answer

Question


how to convert matrix to binary matrix?
if i have this matrix A = [ 0 5 0 1 6 7 2 0 0 0 4 1 ] HOW CAN I CONVERT IT TO THIS BY REPLACE THE NUM...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


if i have three matrix i want to return some one according to vaue
if i have S1 = [ 1 0 0 1 1 1 1 0 0 1 0 1 ] S2 = [ 1 1 0 1 0 1 0 1 1 1 0 0] S3 =...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


how can i delete first number in vector ?
if i have this number in vector v = [ 22 13 14 11 ] i want to delete first number like that ...

ungefär 8 år ago | 1 answer | 1

1

answer

Question


if i have tow matrix how to crossover of them ?
if i have this matrix A = [ 1 0 1 1 1 1 0 1 0 1 0 1 1 1 1 0] B = [ 0 1 1 0 0 0 1 1 ...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


how to alter this code ???
if i have A matrix like this A = [ 1 0 1 1 1 0 0 1 0 1 0 1 0 1 1 1 1 0 O 0 ] S = randi([0 ...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


How to extract information from matrix?
If i have this matrix B = [ 1 1 0 1 0 0 0 0 0 1 0 0 0 1 0 0 ] how i can in some way to extract t...

ungefär 8 år ago | 1 answer | 0

1

answer

Question


how to generate 5 random matrix and in each of them i want to replace rows and columns ?
how to generate a 5 random matrix and in each of them i want to do this if i have (n,m) like A A = [ 1 0 1 1 0 0 ...

ungefär 8 år ago | 0 answers | 0

0

answers

Question


if i have two matrix like i want to do some operation on it
if i have two matrix like that A = [ 1 1 0 1 1 0 1 0 0 0 1 0 0 1 0 1 ] B = [ 1 1 1 0 0...

mer än 8 år ago | 1 answer | 0

1

answer

Question


how to generate a 20 random matrix and according to equation ?
how to generate a 20 random matrix and according to equation calculate them , after that i want to re-order them from the sm...

mer än 8 år ago | 1 answer | 0

1

answer

Question


idea for crossover in genetic algorithm?
if i have this matrix A = [0 1 0 1 0 0 1 0 0 1 0 0 0 0 0 0 1 1 1 1 1 1 1 0 1 1 1 1 1 1 ...

mer än 8 år ago | 0 answers | 0

0

answers

Question


how to fix this code ??
MaxIt=100; % Maximum Number of Iterations nPop=25; % Population Size pc=0.8; % Crossover Percentage ...

mer än 8 år ago | 0 answers | 0

0

answers

Question


how to add element in a vector ?
i want to create a 20 random binary matrix where in every one from these matrix i want to do some calculation after that...

mer än 8 år ago | 1 answer | 0

1

answer

Question


if i have two matrix in different size how can i subtract it ??
if i have A =[ 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 ...

mer än 8 år ago | 0 answers | 0

0

answers

Question


can any one give me an idea to solve a problem using genetic algorithm
if i have a matrix A = [ 1 0 1 1 0 1 0 0 1 1 0 0 1 0 0 1 ] AND with some code i found these mat...

mer än 8 år ago | 1 answer | 0

1

answer

Question


How to find min value among 20 random matrices and return the min matrix have the min value ?
if i have a matrix A like this A = [1 0 1 1 0 0 1 0 0 1 0 1 1...

mer än 8 år ago | 1 answer | 0

1

answer

Question


how to copy rows and columns in a random matrix ?
if i have matrix A A = [ 1 0 1 1 0 0 1 0 0 1 0 1 1 1 0 1 ] ; THEN i want to generate a random b...

mer än 8 år ago | 1 answer | 0

1

answer

Question


if i have random matrices how to find a specific matrix?
if i have a random 20 binary matrix and matrix A ; A = [ 1 0 1 1 0 1 0 0 1 1 0 1 1 1 0 1 ] ...

mer än 8 år ago | 2 answers | 0

2

answers

Question


How to generate a random matrix ?
how to generate (4,4) a 20 binary random matrix in one function? like this x1 = [ 1 0 1 0 1 1 0 0 0 1 1...

mer än 8 år ago | 2 answers | 1

2

answers

Question


How i can create the initial population for matrix in genetic algorithm?
How to create a 20 of initial population for matrix and then apply my fitness function on it?

mer än 8 år ago | 0 answers | 0

0

answers

Question


how can i apply the genetic algorithm ?
how can i apply this fitness function on genetic algorithm if M = [ 1 0 1 0 1 0 1 0 1 1 1 1 0 1 0 ...

mer än 8 år ago | 0 answers | 0

0

answers

Question


how to fix this code ???
when i run this code the function return just M_row function [M_row , M_column] = Untitled5 (~) M = [ 1 1 0 1 0 ...

mer än 8 år ago | 3 answers | 0

3

answers

Question


copy row or column with condition?
if i have (n,m) matrix A like A = [ 0 0 1 0 1 0 1 1 0 0 0 0 0 0 1 0 ] then i want a functi...

mer än 8 år ago | 2 answers | 0

2

answers

Question


how to fix this code?
A = [ 1 1 1 0 0 0 0 0 1 1 1 1 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1 ...

mer än 8 år ago | 0 answers | 0

0

answers

Load more