Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 19178

Questions about random number generation and the properties of numbers so generated.

0 votes
1 answer
391 views

Generate a small random disturbance on a flat surface for NDSlove

I want to generate a small random perturbation on a flat surface defined on a square domain, e.g. 1 + 0.05 rand(x,y), which can be used as initial condition with periodic boundary conditions in NDSolve … How can I generate a random disturbance consisting with periodic boundary condition meanwhile. …
Enter's user avatar
  • 1,257
3 votes
1 answer
336 views

Failed to create a special random-disturbed initial condition for partial differential equation [closed]

I try to use BSplineFunction to creat a initial condition for NDSolve which has periodic boundary condition, that is realized by producing a coarse grid of random number: ini = 1 + c*BSplineFunction[RandomReal …
Enter's user avatar
  • 1,257
2 votes
1 answer
46 views

Help with evaluation of the differential of a BSplineFunction?

It can be useful to generate a smooth random function over $[-L,L]$ with BSplineFunction: L=10; SeedRandom[1] f[x_] = BSplineFunction[RandomReal[{-1, 1}, 20], SplineClosed -> True][x/(2*L)] It is easy …
Enter's user avatar
  • 1,257