Matlab interface

Once the Matlab interface is built, you must have so3/src/matlab in your path in order to run the Matlab functions. A number of Matlab functions and demos illustrating their use are provided.

Functions

Usage of the SO3 Matlab interface will most frequently require only the functions to perform forward and inverse Wigner transforms (so3_forward and so3_inverse respectively). However, a number of additional functions are also provided. A full list of Matlab functions, with brief descriptions are given here:


  so3_elmn2ind
  Convert harmonic indices to vector index

  so3_forward
  Compute forward Wigner transform

  so3_forward_direct
  Compute forward Wigner transform using direct method

  so3_ind2elmn
  Convert vector index to harmonic indices

  so3_inverse
  Compute inverse Wigner transform

  so3_inverse_direct
  Compute inverse Wigner transform using direct method

  so3_sampling
  Compute sample positions
  

To access the documentation for each function in Matlab, simply run:

 help <function>

where <function> is the function name.

Demos

A number of demos are provided to illustrate the use of the Matlab interface:

  so3_demo_error_timing
  Create timing and error plots of round-trip transform.

  so3_demo_plot_wigner
  Use SO3 to plot Wigner functions on SO(3).

  so3_demo_basic
  Simple demo to compute inverse and forward transform of complex
  scalar function, using simplest interface with default options.

  so3_demo_basic_direct
  Simple demo to compute inverse and forward transform of complex
  scalar function, using direct method with simplest interface
  with default options.

  so3_demo_real_signal
  Simple demo to compute inverse and forward transform of real
  scalar function, using simplest interface with default options.

  so3_demo_real_signal_direct
  Simple demo to compute inverse and forward transform of real
  scalar function, using direct method with simplest interface 
  with default options.

  so3_demo_compact_storage
  Demo to compute inverse and forward transform of complex
  scalar function, using compact storage.

  so3_demo_storage_order
  Demo to compute inverse and forward transform of complex
  function, storing the flmn for n = -N+1 first.

  so3_demo_lower_band_limit
  Demo to compute inverse and forward transform of complex
  function, using a non-zero lower harmonic band-limit - i.e. only
  harmonic coefficients with L greater than or equal to some L0
  are non-zero.

  so3_demo_even_n
  Demo to compute inverse and forward transform of complex
  function, using only harmonic coefficients with even n.

  so3_demo_symmetric_sampling
  Demo to compute inverse and forward transform of complex
  function, using a symmetrically sampled signal.

  so3_demo_covariance
  This demo runs a series of forward transforms from random coefficients
  and compares the transformed signal's covariance with the theoretical
  prediction.
  

To access the documentation for each demo in Matlab, simply run:

 help <demo>

where <demo> is the demo name.