Edgaris Rhomer
Followers: 0 Following: 0
Feeds
질문
how to fix the size of imshow image: the result image is too small
Hi all, I have a code where at the end I have a 100x100 matrix of integers in between 111 and 666. Then I determine the seco...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to make and save image for each iteration in a for loop?
Dear all, I want to know how to make and save an image for each time iteration in a for loop. The following is a simple test ...
12년 초과 전 | 답변 수: 2 | 0
2
답변질문
in a nested for loop, if statement: how to keep doing something until a condition is met
Dear all, I have a 6x6 matrix of integers. In a for loop, for each entry in the matrix I grab a 3x3 submatrix and I randomly ...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
how to code probability in general??
Suppose I have a matrix A=magic(2). 1) Each entry mutates with probability p. 2) If such mutation does occur, then with p...
12년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
how to select an element from a matrix with a particular probability, not randomly selecting
Here's my brief explanation for what I did. I used randsample(POPULATION,N,true,W). Instead of thinking of updating the matri...
how to select an element from a matrix with a particular probability, not randomly selecting
Here's my brief explanation for what I did. I used randsample(POPULATION,N,true,W). Instead of thinking of updating the matri...
12년 초과 전 | 0
| 수락됨
질문
how to select an element from a matrix with a particular probability, not randomly selecting
Hi all. I have a 1000 by 1000 matrix filled with integers ranging from 1 to 6. I want to update each element in the matrix with ...
12년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to randomly select an element in adjacent entries in a matrix in for loop
I can answer my own question in case others are looking for solutions! go to link: http://www.mathworks.com/matlabcentral/...
How to randomly select an element in adjacent entries in a matrix in for loop
I can answer my own question in case others are looking for solutions! go to link: http://www.mathworks.com/matlabcentral/...
12년 초과 전 | 0
| 수락됨
질문
How to randomly select an element in adjacent entries in a matrix in for loop
here's my code: % code for j=1:tmax for i=1:n if mat(i)==0 && rand() < r*(1-(zerfre)^2); idx = 1...
12년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to store a data from a nested for loop in a n x n matrix
here's my code: for j=1:tmax for i=1:n if mat(i)==0 && rand() < r*(1-(zerfre)^2); idx = 1 + fix(rand(1,1...
12년 초과 전 | 답변 수: 1 | 0
