Community Profile

photo

fatema saba


Active since 2014

Statistics

  • First Review
  • Thankful Level 3

View badges

Content Feed

View by

Question


How convert matrix to original form
Hello I have a matrix with 100 rows and 100 columns named it D. in fact this matrix was a matrix with 137 rows and 127 columns b...

8 years ago | 2 answers | 0

2

answers

Question


How convert matrix to original form
Hello I have a matrix with 100 rows and 100 columns named it D. in fact this matrix was a matrix with 137 rows and 127 columns b...

8 years ago | 0 answers | 0

0

answers

Question


how to write matrix into geotiff format
Hello, I have an image made in ArcGIS. its format is Geotiff. I raed it with below command in matlab: [X, cmap, R] =...

8 years ago | 0 answers | 0

0

answers

Question


how not to be read the cells with zero values.
Hi I have matrix A. This matrix has 1000 rows and 1000 column. many cells of this matrix have 0 as their values.I have to enter...

8 years ago | 1 answer | 0

1

answer

Question


replace nonzero element of matrix with vector
Hello I have matrix A: A=[2 3 0 0;6 0 2 4;1 2 0 7] I want to replace nonzero element of this matrix with matrix...

8 years ago | 1 answer | 0

1

answer

Question


calculate equality between adjacent elements in matrix
Hello I have matrix A like that: A=[7 7 3 5 6; 1 1 7 5 6; 6 6 5 5 5; 1 1 3 3 3; 1 1 ...

8 years ago | 0 answers | 0

0

answers

Question


calculate equality between adjacent elements in matrix
Hello I have matrix A like that: A=[7 7 3 5 6;1 1 7 5 6;6 6 5 5 5;1 1 3 3 3;1 1 7 7 7] I want to move from this ...

8 years ago | 2 answers | 0

2

answers

Question


how change elements around the special element in matrix
Hello please guide me. A is A=zeros(100,100) i a j is selected randomly for example i=9 and j=8. I want to ...

8 years ago | 1 answer | 0

1

answer

Question


numerate two numerators in conjunction with each other
Hello I have two numerator, A and B. in steps 1 to 6 when A numerates 1 to 6, B is 1. in steps 7 to 12 when A numerates...

8 years ago | 1 answer | 0

1

answer

Question


call every row of matrix in each iteration
Hi I have matrix a with 1 row and 300 columns. this matrix is composed of randomly elements between 1 to 300: a=randi(30...

8 years ago | 0 answers | 0

0

answers

Question


use rows of matrix sequentially in iterations
Hi I have 2 matrices A and B. each of them has 4 rows and 10 columns. Also, I have the other matrix (D) 100 rows, 100 columns ...

8 years ago | 0 answers | 0

0

answers

Question


make some matrices from one matrix without repeating the same numbers
Hi I have matrix A A=[1:1000] I randomly made matrix B on the basis of 20 percent of (numel(A)) like that: ...

8 years ago | 1 answer | 0

1

answer

Question


decrease the time of calculating
Hi I want to decrease the time of calculating in my algorithm. in this algorithm there is an objective function.in every iterat...

8 years ago | 1 answer | 0

1

answer

Question


use for in matlab
Hi a question please: o1=100 o2=200 I want to write something like that: if true for i=randi(O1,[1 ((50/100)*O1)])...

8 years ago | 1 answer | 0

1

answer

Question


exchange cells with concerning time
Hi I have a code. In this code p and D are matrices with 100 rows 100 columns and 4 in third dimension. D is (0-1) matrix. in my...

8 years ago | 2 answers | 0

2

answers

Question


how can I create cumulative matrix.
Hello a question please. I have matrix P with size (452*500). I want to select random selection with roulette wheel selecti...

9 years ago | 1 answer | 0

1

answer

Question


How can I divide elements of matrix in every dimension
Hello I have a question please. I have a 3D matrix named dd dd(:,:,1) = 1 0 1 0 ...

9 years ago | 1 answer | 0

1

answer

Question


function doesn't work in iteration
Hello I have a question please. I have a 3D matrix named "x" x(:,:,1)=[0 0 1 0 0;0 0 0 0 0;0 1 0 0 0;0 0 0 0 1] ...

9 years ago | 1 answer | 0

1

answer

Question


Maximum perimeter of cells with special value in dispersal configuration
Hello The following script calculate perimeter of maximum dispersal configuration of value 1 in matrix x. "minconfig" is per...

9 years ago | 0 answers | 0

0

answers

Question


matrix indexcing in compare with two matrices
Hello I have 3 matrices: m_z=[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0] m_y=[19 6 21 16 5 17 3 25 9 20 8 24 15...

9 years ago | 1 answer | 0

1

answer

Question


random matrix with fix summation
Hello please. this is my simple code that create (3*3) random matrix that all elements are 0 or 1. a=randi([0,1],[500,...

9 years ago | 2 answers | 0

2

answers

Question


summation valuse in struct just one dimension
Hello I have a struct(3*3*3 with fields: bit). in each field I have two values. I want to divide vales of each field by produ...

9 years ago | 0 answers | 0

0

answers

Question


save results in new struct
Hi I want to save results of calculation in an emty struct(3*3*2 with fields:cost)named "mymax". "stwhole" (3*3*2 with fi...

9 years ago | 1 answer | 0

1

answer

Question


Can't save rule in new matrix
Hi I have two matrix A= [0.1102 0.0612 0.1946 0.1812 0.1469 0.0379 0.1738 0.0037 0.090...

9 years ago | 1 answer | 0

1

answer

Question


create new matrix with special structure
I have a Matrix named p. the sixe of it is m*n (m=6, n=4) I want to create new matrix based on matrix p with aid of followin...

9 years ago | 3 answers | 0

3

answers

Question


summation of elements in multi dimensional matrix
Hi any body there I have a three dimensional matrix called C. dimension of this matrix is (3,3,k). K is changeable. I w...

9 years ago | 1 answer | 0

1

answer

Question


create 3-dimension matrix
Hi A Question please. I want to write a function that create a 3-dimension matrix based on two 2-demnesion matrices. I ...

9 years ago | 2 answers | 0

2

answers

Question


change size of matrix without changing number of row and column
Hi I have 4 matrices (A, B, C and D)like my figure: <</matlabcentral/answers/uploaded_files/22926/MATRIX%20A.png>> ...

9 years ago | 1 answer | 0

1

answer

Question


integrate 3 matrix into one matrix
Hello I have a problem. I have 3 matrices (q,e and w) like that: q=[1:4] e=q' and w=zeros(3,3) I want ...

9 years ago | 1 answer | 0

1

answer

Question


writing special constraint in GAMS
Hi, I have 3 excel sheets that refer to 3 kinds of a thing (then K=1,2,3). each sheet has 20 rows (i=1,2,...,20) and 10 colu...

9 years ago | 0 answers | 0

0

answers

Load more