Feeds
提问
skip the value in for-loop
a = 27; c = 11; m = 54; x(1)=2; for i=2:25 x(i) = (mod(a * x(i-1)+c ,m)) end here i want to skip the first value x(...
6 years 前 | 2 个回答 | 0
2
个回答提问
pseudo random numbers using the linear congruent method
how can i plot scatter plot between x(i) and x(i-1) like: x(i) = (mod(a*x(i-1)+c,m)) where "a" and "c" are contant and "m" is...
6 years 前 | 2 个回答 | 0
