Community Profile

photo

Edgaris Rhomer


Last seen: 1 year ago Active since 2013

Followers: 0   Following: 0

Message

A third year math student who's a matlab beginner :) Professional Interests: pattern formation and anything that has to do with animals

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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 ...

11 years ago | 2 answers | 0

2

answers

Question


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 ...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer

Answered
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...

11 years ago | 0

| accepted

Question


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 ...

11 years ago | 1 answer | 0

1

answer

Answered
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/...

11 years ago | 0

| accepted

Question


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...

11 years ago | 1 answer | 0

1

answer

Question


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...

11 years ago | 1 answer | 0

1

answer