sand15athome

35 Reputation

4 Badges

3 years, 140 days

MaplePrimes Activity


These are answers submitted by sand15athome

1/ To sample N random nulbers from a uniform (continuous uniform) distribution you can use this 

with(Statistics):
N := 100:
A := -10:
B := -1:
S := Sample(Uniform(A, B), N)


2/  evalf(RandomTools:-Generate(list(negative(range=-5), 10)));

generates 10 random number between -5 and 0 (uniformly distributed)

 

 

Download the file below.
It contains some basic information from wich to start using Maple on your problem

My better advice : look to the help pages ("help" top right in the bar menu, or ctrl+F1 (windows),, cmd+F1 (Mac OS), or simply ? in the worksheet)

 

Download LogisticEquation.mw

 

Hi,  

I may be mistaken, but it seems to me that you want to initialize your pde equation/system by a stochastic process (1D) or a stochastic field (nD) ?

If it is the case there exist a lot of methods for numerically simulating such objects (most commonly used and easier to understand are based on Cholesky decomposition and Fast Fourier Transform)

Here is just one link among others : http://www.icms.org.uk/downloads/PMPM2014/PowellPart2.pdf

If you are only interested in implementing a simulation method, a  very quick overview of the FFT simulation method  is provided here http://www.siam.org/students/g2s3/2011/docs/alea.pdf 


For more details, see the reference site for gaussian processes   http://www.gaussianprocess.org

 

 

 

Page 1 of 1