Feeds
提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
9 years 前 | 0 个回答 | 0
0
个回答提问
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] =...
9 years 前 | 0 个回答 | 0
0
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
9 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
9 years 前 | 2 个回答 | 0
2
个回答提问
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 ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 0 个回答 | 0
0
个回答提问
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 ...
9 years 前 | 0 个回答 | 0
0
个回答提问
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: ...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 1 个回答 | 0
1
个回答提问
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)])...
9 years 前 | 1 个回答 | 0
1
个回答提问
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...
9 years 前 | 2 个回答 | 0
2
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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] ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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,...
10 years 前 | 2 个回答 | 0
2
个回答提问
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...
10 years 前 | 0 个回答 | 0
0
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 3 个回答 | 0
3
个回答提问
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...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 2 个回答 | 0
2
个回答提问
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>> ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
10 years 前 | 1 个回答 | 0
1
个回答提问
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...
10 years 前 | 0 个回答 | 0