Function Repository Resource:

QuadraticResidueAcousticDiffuser

Source Notebook

Compute a matrix of well depth values representing a quadratic-residue diffuser

Contributed by: Wolfram Staff

ResourceFunction["QuadraticResidueAcousticDiffuser"][x,y]

returns an xy matrix of well depth values representing a quadratic-residue diffuser.

Details and Options

In ResourceFunction["QuadraticResidueAcousticDiffuser"][x,y], x*y+1 must be prime.
A 3D relief produced by ResourceFunction["QuadraticResidueAcousticDiffuser"][] scatters soundwaves without producing echoes and thus avoids acoustic distortions.

Examples

Basic Examples (2) 

Create a matrix representing a relief for a quadratic-residue diffuser:

In[1]:=
ResourceFunction["QuadraticResidueAcousticDiffuser"][12, 13]
Out[1]=

Plot a 3D representation of the relief:

In[2]:=
ResourceFunction["QuadraticResidueAcousticDiffuserPlot"][%]
Out[2]=

Version History

  • 1.0.0 – 17 January 2020

Related Resources

License Information