I would like to define a simple function that gives random smooth bumps in a plane, a bit like the clumsy picture below, but it should be continuous:
Plot3D[RandomReal[{-1, 1}], {x, 0, 5}, {y, 0, 5}]
As a function of both $x$ and $y$, it should be smooth everywhere and be differentiable at least once. How can we define such a function RandomFun[x, y]
(pun intended) with Mathematica?
Ideally, it should be as simple as possible and be valid for Mathematcia 7 (RandomFunction
doesn't seem to be recognized with this version). Please, nothing fancy. Just the simplest way to get smooth bumps of height between -1 and 1.
tt = Table[RandomReal[{-1, 1}], {x, 0, 5}, {y, 0, 5}];ff = ListInterpolation[tt];Plot3D[ff[x, y], {x, 0, 6}, {y, 0, 6}]
$\endgroup$