Community Profile

photo

Firas Al-Kharabsheh


Active since 2016

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


I have matlab R2015b 32bit version can i download it on 64-bit windows?
If i have Matlab R2015 32bit And i want to download it on 64-bit windows Can i do this or no i can't to run the matlab pro...

8 years ago | 1 answer | 0

1

answer

Question


If i have a function to generate two matrix?
If i have for k=1:2 C1 = randi ([0 1],3,3); C2 = randi ([0 1],3,3); end How can put the C1 and C2 in the same ...

8 years ago | 1 answer | 0

1

answer

Question


if i have this cell matrix how can delete zero cell?
if i have z= [10x10 double] [10x10 double] [10x10 double] [10x10 double] [10x1...

8 years ago | 1 answer | 0

1

answer

Question


if i have two of matrix how to sort them?
if i have this code x_matrix= []; value = []; for k=1:15 x_matrix{k} = randi([0 1],5,5); value = s...

8 years ago | 1 answer | 0

1

answer

Question


how to do this operation on matrix ?
i want a function to do this matrix = [{1 0 1 ; { 1 1 0 ; { 0 1 0 0 1 1 0 0 1 1 1 0 ...

8 years ago | 1 answer | 0

1

answer

Question


if i have matrix i want to convert it to vector?
if i have this matrix A = [1 2 3 4 5 6 7 8 9] then i change it to a vector like that b = reshape(A',...

8 years ago | 1 answer | 0

1

answer

Question


if i have two vector how to perform single crossover?
if i have p1 = [ 1 0 1 1 1 0 1 0 1 0 1 0 1 0 1 0 0 0 0 0 1 0 1 1] p2 = [ 0 0 0 0 1 1 1 1 0 0 1 1 0 1 0 1 1 1 0 0 0 1 ...

8 years ago | 2 answers | 0

2

answers

Question


if i have a code for genetic algorithm but its need some alter how to do them?
i have this code for genetic algorithm % i need a minimum value for the fitness function %nPop = 10 , MaxIt = 100 ...

8 years ago | 0 answers | 0

0

answers

Question


if i have image with size(n,m) how can i make it to be (n,n)?
if i have an image and after i convert it to a binary matrix with size (n,m) how can i make the size of this matrix to be (n...

8 years ago | 1 answer | 0

1

answer

Question


If i have two binary matrix how can calculate the similarities between them
If i have (n,m) matrix M M = [ 1 0 1 1 0 1 0 1 1 0 0 1 0 0 1 0 1 0 ...

8 years ago | 1 answer | 0

1

answer

Question


how to generate a random binary matrix with a specific condition?
if matrix A shows the number of group of ones in G (n,m) matrix like that G = [ 1 1 0 0 1 0 1 1 1 0 1 0 1 ...

8 years ago | 1 answer | 0

1

answer

Question


how to do this operation on a random matrix ?
if i have this matrix (n,m) M = [ 1 0 1 1 0 0 1 1 1 0 1 0 1 0 0 1 1 0 1 1 0 ...

8 years ago | 1 answer | 0

1

answer

Question


How to do a Population and crossover on matrix ?
How to generate a 20 population of matrix and then calculate fitness funtion to eaach one using sum (sum (matrix)) then perform ...

8 years ago | 0 answers | 0

0

answers

Question


if i have to array how to match them ?
if i have Random_matrix = [ [ 1 1 1;3 2 1; 1 1 0] ,[0 3 2;2 3 1; 1 2 2],[3 2 2; 2 1 2; 1 2 2],[3 3 2 ; 2 1 2; 2 2 3]; an...

8 years ago | 0 answers | 0

0

answers

Question


how to select matrix from many random matrix?
if i write this code for k=1:25 x = randi([0 1],5,5); val = sum(sum(x)) end the result will be 10 matrices ...

8 years ago | 1 answer | 0

1

answer

Question


if i have matrix and i want to generate a random matrix with specific rule ?
if i have this matrix Full_Matrix = [ 1 1 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 ...

8 years ago | 0 answers | 0

0

answers

Question


if i have matrix and i want to do this ?
if i have this matrix Matrix_row = [2 4 2 0 0 3 6 0 0 0 4 ...

8 years ago | 1 answer | 0

1

answer

Question


how to do this on matrix to change they look?
if i have this matrix A = [ 1 2 2 4 5 2 1 2 3 1 1 2 0 0 0 1 0 0 ] how to convert it to be like that ...

8 years ago | 1 answer | 0

1

answer

Question


if i have two matrix how can make them same size by add zero column or row ?
if i have this matrix M = [15 13 11 11 7 7 8 9 11 13 15 8 8 6 3 0 ...

8 years ago | 2 answers | 0

2

answers

Question


how to generate a random matrix with a specific conditions ?
if i have (n,m) MATRIX M M = [ 0 1 1 0 1 0 1 1 1 1 1 0 1 1 0 0 0 1 1 1 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0...

8 years ago | 0 answers | 0

0

answers

Question


if i have matrix how to make another matrix its size like this ?
if i have MatrixA =[ 1 1 0 1 1 1 1 0 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1 0 0 0 ...

8 years ago | 0 answers | 0

0

answers

Question


how can alter this code to select some matrix ?
if i have this code for iii=1:4 X = randi([0 1],3,3); end how can i select the X number 2 and number 4 like this...

8 years ago | 1 answer | 0

1

answer

Question


How to do this copying from matrix to random matrix ?
if i Generate a binary random (n,m) matrix and after some steps i found A_matrix like this A_matrix = [ 1 1 1 1...

8 years ago | 0 answers | 0

0

answers

Question


i want to generate a random matrix then apply this condition ?
i want a for statement to compute this after generate a (n,m) random matrix * compute number of ones in each group of ones i...

8 years ago | 1 answer | 0

1

answer

Question


how to alter this code because its give me error/
M =[ 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 ...

8 years ago | 0 answers | 0

0

answers

Question


how to cross over between 10 matrix randomly ?
if i have a1 = [ 1 1 0 0 1 0 0 0 1 ] a2 = [ 1 0 1 0 0 1 0 1 1] a3 = [0 1 0 ...

8 years ago | 1 answer | 0

1

answer

Question


if i have two matrix in different size how can i subtract it By adding zeros row or column ??
if i have n X m matrix like this (6,6) i want to make the X in size (6,m/2) by adding zeros row and column X_before = [ 1 2 ...

8 years ago | 1 answer | 0

1

answer

Question


how can i do this operation?
if i have M = [2 1 1 0 1 3 3 0 2 0 ] AND X = [ 2 0 0 1 1 1 4 0...

8 years ago | 1 answer | 0

1

answer

Question


how can i do this function ?
compares the number of 1s and 0s in each line (row or column) solution X with the desired number of 1s and 0s This desired nu...

8 years ago | 1 answer | 0

1

answer

Question


how to do this operation to calculate columns for a new matrix ?
if i have this matrix A=[ 0 0 1 0 1 0 1 4 1 0 10 10 6 5 1 1...

8 years ago | 0 answers | 0

0

answers

Load more