photo

Shane McNamara


2017년부터 활동

Followers: 0   Following: 0

통계학

  • Thankful Level 2
  • Thankful Level 1

배지 보기

Feeds

보기 기준

질문


How do i apply an open boundary so that any particle that leaves my matrix will just disappear.
How do i apply an open boundary so that any particle that leaves my matrix will just disappear. Random diffusion occurs in my co...

6년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Subscripted assignment dimension mismatch
Can anyone highlight why i am getting this error in the below code please? domainSize = [50 50]; domain = zeros(domainSi...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


I have a zero matrix with a square of zeros near the middle. I want them to move randomly throughout the matrix.
I have a zero matrix with a square of 1's in the middle. I want one of the 1's to be picked randomly then moved in a random dire...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


Selecting a random element from a matrix with a range.
I am trying to select a random element from this matrix with a certain range. d = rand(10) d(end,randperm(size(d,2), 1)) ...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


I am getting a parse error on the = sign in the third line but i cant seem to figure out why. Any suggestions and or solutions? Thanks
N = 1000; r = .5; x.*(i+1) = r.*x.(i).*(1-x) x = zeros(1,N); x(1) = rand(1); for i=1:N-1 x(i+1) = r.*x(...

거의 7년 전 | 답변 수: 1 | 0

1

답변